Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Is it possible to make the DOM node optional? #130

Open
danielgtaylor opened this issue Oct 22, 2015 · 1 comment
Open

Is it possible to make the DOM node optional? #130

danielgtaylor opened this issue Oct 22, 2015 · 1 comment
Assignees

Comments

@danielgtaylor
Copy link
Contributor

When rendering HTML that includes MSON structures, it would be nice to render using AttributesKit in-place rather than having to define an element with a unique ID and later calling AttributesKit on that element. For example:

<p>I am some HTML</p>
<div class="attributes">
  <script type="text/javascript">
    // This renders my MSON right here inside this `div` element.
    AttributesKit.render(mson);
  </script>
</div>
<p>Some more HTML</p>

Does that make sense? Is this a bad idea?

@Baggz
Copy link
Contributor

Baggz commented Oct 30, 2015

@danielgtaylor

Understood.

Let me investigate the possibilities and I'll get back to you.

@Baggz Baggz self-assigned this Oct 30, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants