krc-utils
ReactJS controls: Utils functions by Kraken team!
install
HOW IT WORKS
install package
npm install --save krc-utils
usage
import { backScrollTop, showSpinner, hideSpinner, navigateTo } from "krc-utils";
API references
Items
Name | args | return | Description |
---|---|---|---|
backScrollTop | void | void | Scroll back to top page |
showSpinner | void | void | Show loading spinner |
hideSpinner | void | void | Hide loading spinner |
navigateTo | url: string | void | Navigate to url |
License
krc-utils is released under the MIT license.