Sleep

Vue 3 UI preloader - Vue.js Feed #.\n\nvue3-ui-preloader is a Pre Loading machine components for Vue 3.\n\nDemonstration and play ground.\nLive demonstration - https:\/\/vue3-ui-preloader.netlify.app\/.\nPlay ground Website.\nChange the environments making use of the playground alternatives. On the bottom of the webpage you will definitely find the source code that you may directly utilize in your project or you may manually alter the props.\nnpm web link - https:\/\/www.npmjs.com\/package\/vue3-ui-preloader.\nVue 3 strike hyperlink - https:\/\/stackblitz.com\/edit\/vue-caijgu?file=src%2FApp.vue.\nInstallment.\n# utilize yarn.\nanecdote add vue3-ui-preloader.\n# make use of npm.\nnpm put in-- conserve vue3-ui-preloader.\nConsumption.\nVue 3 strike hyperlink - https:\/\/stackblitz.com\/edit\/vue-caijgu?file=src%2FApp.vue.\nIn your main.js.\nbring in createApp coming from 'vue'.\nimport App from '.\/ App.vue'.\nbring in loading machine coming from \"vue3-ui-preloader\".\n\n\/\/ Bring in the CSS or even utilize your own!\nbring in \"vue3-ui-preloader\/dist\/loader. css\".\n\nconst app = createApp( Application).\n\napp.component(' loading machine', loader).\n\napp.mount(' #app').\nIn your template.\n\n\n\n\nKEEP IN MIND: The greatest means to control the loader is actually to have a flag and use it in a v-if or even v-show statement.You can either make use of the playing field web site to automatically obtain all the props set or even you can specify them manaully utilizing the beneath uphold checklist. You may additionally turn to certainly not passing any sort of uphold, in this particular situation the preloader will definitely make use of nonpayment setups.\n\nVia CDN.\nCDN demo link - https:\/\/jsfiddle.net\/1t0jyeqh\/10\/.\nIn your index.html.\n\n\nIn your template.\n\n\n\nIn your main.js.\nconst createApp = Vue.\n\nconst app = createApp( loader).\n\napp.mount(' #app').\nProps.\nCall.\nKind.\nDefault.\nSummary.\nlabel.\nstrand.\n' turning'.\nchooses the kind of loading machine. (Ex: turning, dots, loading, circular, box).\nobject.\nstrand.\n' #ff 9633'.\nspecified the shade of the loaders. (Ex: hex or even colour).\nloadingText.\nstring.\n' FILLING ...'.\nestablished the text of some loading machines.\ntextColor.\nstrand.\n' #ffffff'.\nestablished the colour of the loadingText. (Ex-boyfriend: hex or even color).\ntextSize.\nnumber.\n' 15'.\nspecified the size of the loadingText.\ntextWeight.\nnumber\/string.\n' 800'.\nplaced the weight of the loadingText. (Ex-spouse: 800, vibrant).\ncolor1.\nstring.\nonly for rounded.\nset the different colors of the round loader disk1. (Ex: hex or even shade).\ncolor2.\ncord.\nonly for rounded.\nspecified the color of the round loading machine disk2. (Ex-spouse: hex or even color).\nmeasurements.\nvariety.\n5.\nprepared the dimension of loader.\nbg.\nstrand.\n' # 343a40'.\nprepared the different colors of the loading machine history. (Ex lover: hex or shade).\nobjectbg.\nstring.\n'

999793'.prepared the color of the loading machine things history. (Ex-spouse: hex or even color).opacity.variety.80.specified the opacity of history.rate.variety.2.computer animation velocity in seconds.disableScrolling.boolean.false.disable page scrolling when preloader is open.

Articles You Can Be Interested In