Sleep

Composable elements for leaving progressive content like Facebook in Vue.js

.vue-content-placeholders.Vue.js plugin for rendering artificial material (Facebook like). It may be beneficial as a placeholder while material is actually filling or data fetching to supply better UX as well as reduced bounce rate.You can easily utilize it as some other component (plugin) for Vue ventures. For instance:.Use.Setup.* by means of npm: 'npm install vue-content-placeholders-- spare'.* through yarn: 'yarn incorporate vue-content-placeholders'.Feature the plugin in your main.js report.bring in Vue from 'vue'.bring in VueContentPlaceholders from 'vue-content-placeholders'.Vue.use( VueContentPlaceholders).A css data is included when importing the deal. You may have to system your bundler to embed the css in your web page.In your design templates:.content-placeholders is actually the main component as well as within 3 kinds of web content may exist.
For on call residential or commercial properties check out even more below.
Result:.
Result:.Accessible components and also properties.root.Boolean computer animated (nonpayment: accurate).Boolean pivoted (nonpayment: inaccurate) - border span.Boolean based (nonpayment: incorrect).These residential or commercial properties define just how all kids elements will function.
Boolean img (default: false).
Number series (nonpayment: 4).That's it basically! This open resource venture is under an MIT permit.