Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script src="janusweb.js"></script>
- </head>
- <body>
- <collection-localindexed id="listitems" storagekey="things"></collection-localindexed>
- <ui-list id="itemlist" collection="listitems"></ui-list>
- <ui-input onaccept="listitems.add(this.value); this.value = ''; itemlist.scrollToBottom();"></ui-input>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement