文件名称:lord-icon-element
文件大小:149KB
文件格式:ZIP
更新时间:2024-06-03 10:40:59
TypeScript
主图标元素 用于嵌入动画图标的便捷自定义元素。 概述 lord-icon-element允许您编写带有精美,交互式,动画图标的网站。 使用此元素,您可以嵌入和控制Lottie文件。 在后台,该库使用了很棒的Lottie-Web动画播放器。 安装 $ npm install lord-icon-element lottie-web 用法 从脚本模块: import { loadAnimation } from "lottie-web" ; import { defineLordIconElement } from "lord-icon-element" ; // register lottie and define custom element defineLordIconElement ( loadAnimation ) ; 从标记: < lord-icon trigger =" h
【文件预览】:
lord-icon-element-master
----bin()
--------lord-icon.js.LICENSE.txt(160B)
--------lord-icon.js(268KB)
----serve-examples.js(561B)
----new_icon_template.md(1B)
----package.json(1KB)
----lottie-web.d.ts(1KB)
----LICENSE(1KB)
----package-lock.json(171KB)
----src()
--------triggers()
--------lord-icon-element.ts(1KB)
--------interfaces.ts(973B)
--------main()
--------helpers()
----.npmignore(13B)
----tsconfig.json(494B)
----examples()
--------custom-triggers.html(2KB)
--------custom-triggers.js(1KB)
--------background.html(2KB)
--------trigger-target.html(1KB)
--------dynamic-customization.html(2KB)
--------dynamic-customization.js(137B)
--------trigger-target.js(117B)
--------background.js(117B)
--------index.html(888B)
--------icons()
--------inherit-color.html(950B)
--------supported-triggers.html(3KB)
--------supported-triggers.js(117B)
--------preload-icon.html(1KB)
--------without-modules.html(777B)
--------inherit-color.js(117B)
--------preload-icon.js(640B)
----.gitignore(32B)
----webpack.config.js(525B)
----README.md(2KB)
----release()
--------lord-icon.js(197B)