How to create a complex component and bind it to different events. That is, the component consists of two textarea fields where 2x will be added to the text, 2 buttons will be the same field for which he can drag around the screen.
These components can be added to a page in any amount by clicking.
How to bind events to each component when you create it in js?
I did, so just think what can be better. Code won't allow, too bulky.