# Loader
# Usage
// Global installation
import LoaderInstaller from "vue-elder-loader";
//...
Vue.use(LoaderInstaller);
// Local installation
import { LoaderComponent, setup } from "vue-elder-loader";
//...
components: {
LoaderComponent;
}
# Slots
- default
- success
- error
- message
# Props
- value
Boolean | Promise
- theme
String (overlay, default)
- message
String
- icon
String | Object | Array
- delay
Number
# Example
<loader-component :value="true"></loader-component>