What's this? / 这啥玩意啊?
- This is an interesting tiptool for web page. 这是一个有丶意思的网页提示工具。
- It has many Custom options. 它拥有许多自定义选项。
- it has fashioned UI for default option. 默认选项拥有着时尚的UI。
- It don't need to dependent on any JavaScript framework. It mean you can use it with any web page project. 它不依赖任何框架,这意味着你可以在任web page项目中使用它。
How to install / 如何安装
- if you use npm / 使用 npm 安装
$ npm i animal-say
- if you use yarn / 使用 yarn 安装
$ yarn add animal-say
- if you use script with cdn / 使用 cdn 引入
<!-- 推荐使用 @x.x.x 来锁定版本号,避免更新时不同版本带来的兼容性问题,示例 -->
- if you use script with local file / 下载到本地引入 download(下载)
get Started / 开始使用
- use es 6 module
// 使用默认选项// use the default configureAnimal// 当然,你也可以修改默认选项,像这样// also you can edit the configure, like thisAnimalconfanimalanimation = 'slide'// ...// 或者使用新的独立配置,继承于默认配置// or use a new configure, extends from default configureconst animal =animal:animation: 'slide'// ... some other Configures options here// messageanimal// dialoganimal// confirm dialoganimal// confirm dialog with a inputanimal// call loadinganimal// close loadinganimal// call progress (0~100)animal// auto close when progress is 100animal// close progressanimal
wiki
在wiki上查看更多 / see more about it on wiki
The End
- If you like my work, give me a start to support my project.
- 如果你喜欢我的项目,不妨给个star来支持一下。