riotautomount
v0.1.1
Published
Mount riot elements automatically
Downloads
2
Readme
RiotAutoMount
RiotAutoMount listen to element insert event and check if the inserted element is a riot element.
If it is, riot.mount(...)
will be run on it.
Simply import the script.
<script src="riot-automount.min.js"></script>
NPM
npm install riotautomount
CDN
Non-Minified
https://cdn.staticaly.com/gh/NawaMan/RiotAutoMount/master/riot-automount.js
Minified
https://cdn.staticaly.com/gh/NawaMan/RiotAutoMount/master/riot-automount.min.js
Dependency
This library only require riot
.