I have created some dynamic components like -
相关标签:
You can Pass the component factory as a Reference to the Dynamic Build Component and then in the Dynamic Component Have a button Destroy .
This Gist will give you a Clearer Idea.
A live Example