Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rendering with dom nodes #3

Open
weepy opened this issue Nov 8, 2012 · 1 comment
Open

rendering with dom nodes #3

weepy opened this issue Nov 8, 2012 · 1 comment

Comments

@weepy
Copy link

weepy commented Nov 8, 2012

this is more a question than an issue. Do you think it would be possible to create a "render" function that would

  1. return a dom element

  2. accept dom nodes as paramaters

E.g it would be awesome to be able to do :

Minstache.compile("<div>{{object}}</div>")({ object: myComponent.render() })
@urban
Copy link

urban commented Aug 7, 2013

You can unescape like so {{!object}} to include DOM nodes in your template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants