Skip to content

How to use JSON Markup to add dynamic sub elements to the shape? #2769

Answered by kumilingus
dsrdh asked this question in Q&A
Discussion options

You must be logged in to vote

I recommend you to use one of these 2 approaches:

If for some reason you want to dynamically create markup inside element views, don't use JSON markup. Just create a DOM element using the native API (or Vectorizer). The attrs with class names as selectors will still work.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dsrdh
Comment options

Answer selected by dsrdh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants