new Spinner(config)
Create a new Neptune Spinner
Parameters:
Name | Type | Description |
---|---|---|
config |
any | Add your configuration parent -> class or id of your target element, when null its document.body style -> primary, accent, information, success, warning, error animation -> linnear, eased |
- Source:
Example
const mySpinner = new Spinner({
parent: "#container",
style: "primary",
animation: "eased"
});