javascript - How to crate custom drag and drop web components for a web app -


i trying r&d work around web app.

enter image description here

in preceding image have described requirement.let have custom web components components 1,components 2 etc in left side.users should able drag , drop components play area , should generate predefined xml or text snippet belong component , generated value should store in variable later use.currently using angular , js , html languages achieve requirement.i know can use html5 drag , drop feature items.but don't have idea how can generate code snippet or text belong dragged items.so maybe guys have kind of experience that.i thought share requirement. appriciate ideas.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -