⏳ Loading inside a container or full screen for Vue.js
npm install --save vue-element-loadingor
yarn add vue-element-loadingimport Vue from 'vue'
import ElementLoading from 'vue-element-loading'
Vue.component('ElementLoading', ElementLoading)or
import VueElementLoading from 'vue-element-loading'
export default {
components: {
VueElementLoading
}
}<vue-element-loading :active="show" spinner="spinner" color="#FF6700"/>| Props | Type | Default | Description |
|---|---|---|---|
| active | Boolean | - | Status for show/hide loading |
| spinner | String | spinner | Spinner icon name |
| color | String | #ccc | Color of spinner icon |
| is-full-screen | Boolean | false | Loader will overlay the full page |
- Fork this repository.
- Create new branch with feature name.
- Run
npm installandnpm run dev. - Create your feature.
- Commit and set commit message with feature name.
- Push your code to your fork repository.
- Create pull request. 🙂
If you like this project, You can support me with starring ⭐ this repository.
Developed with ❤️ and ☕️