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

Update Run-Kit example #108

Closed
JRJurman opened this issue Jan 14, 2019 · 1 comment · Fixed by #159
Closed

Update Run-Kit example #108

JRJurman opened this issue Jan 14, 2019 · 1 comment · Fixed by #159

Comments

@JRJurman
Copy link
Member

Summary

Underscore has a cool default example... we should try to have something similar!
https://npm.runkit.com/underscore

@JRJurman
Copy link
Member Author

JRJurman commented Jan 9, 2021

A simple example like below should work:

var {registerHtml} = require("tram-one")

const html = registerHtml()
const element = html`<button>Hello World</button>`
element.outerHTML

image

More complex examples (with start) will require #149 to be resolved

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

Successfully merging a pull request may close this issue.

1 participant