0.1.1 • Published 2 years ago

riotautomount v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

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.