import indicator from "h5-indicator";
// toast
// indicator.toast('some tost', [config])
indicator.toast("toast", {
// default config
timeout: 1500,
textColor: "#fff",
textSize: 26
});
// loaidng
// indicator.showLoading([config])
indicator.showLoading({
timeout: 20000,
color: "#919191",
mask: 0.1,
size: 45
});
indicator.hideLoading();
h5-indicator
1.0.9 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i h5-indicator
Weekly Downloads
0
Version
1.0.9
License
MIT
Unpacked Size
6.87 kB
Total Files
4