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

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -