1.0.9 • Published 4 years ago

h5-indicator v1.0.9

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Example

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();