0.1.1 • Published 3 years ago
ieye v0.1.1
ieye
Introduction
ieye 写轮眼
Install
npm
npm install ieye -S
yarn add ieye -S
cdn
https://unpkg.com/ieye@0.1.1/dist/index.js
https://unpkg.com/ieye@latest/dist/index.js
https://cdn.jsdelivr.net/npm/ieye@latest
How to use
1.html import sdk
<script>
(function () {
var el = document.createElement("script");
el.src = "ieye@0.1.0.js";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(el, s);
el.onload = function () {
console.log("eye insert ok");
eye.init({
cocd: "code",
});
eye.start();
};
})();
</script>