Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

riotautomount

0.1.0 • Public • Published

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.

install

npm i riotautomount

Downloadsweekly downloads

17

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability