riot-js

Open full view…

Mounting TAG

vladv
Tue, 27 Dec 2016 10:38:51 GMT

Why nested tag mounting automatically, Im dont riot.mount(*) in index.html How dont mount auto hello.tag ? <timer> <hello></hello> <script> </script> </timer>

vladv
Tue, 27 Dec 2016 18:45:54 GMT

heh! I used the type of construction: <timer> <hello if={show_hello}></hello> <script> this.show_hello = false; </script> </timer> And this code work very excellent!!!1