Attach div to body

Im beginning to like this new UI library :).

One question though: I can find an option to attach a ui element to a div (container property), but what about the other way around? For example, I have a div that want to attach to the body of an accordionitem. I can put it in a string, but this results in all kinds of ugly javascript quote escaping misery. Any options?

Hello,

you can use content property to define id of the html that you want to attach:

{ body: { content: “divId” } },