Sleep

Composable parts for providing progressive content like Facebook in Vue.js

.vue-content-placeholders.Vue.js plugin for rendering artificial web content (Facebook like). It could be useful as a placeholder while content is loading or data fetching to give better UX and also lesser bounce fee.You may utilize it as every other element (plugin) for Vue tasks. For instance:.Consumption.Setup.* through npm: 'npm mount vue-content-placeholders-- save'.* through anecdote: 'yarn add vue-content-placeholders'.Feature the plugin in your main.js file.bring in Vue from 'vue'.import VueContentPlaceholders coming from 'vue-content-placeholders'.Vue.use( VueContentPlaceholders).A css data is featured when importing the bundle. You might have to system your bundler to embed the css in your web page.In your themes:.content-placeholders is the primary part and within 3 forms of information can easily exist.
For available residential or commercial properties have a look even further listed below.
Result:.
End result:.Accessible components and buildings.root.Boolean animated (default: true).Boolean rounded (nonpayment: false) - border span.Boolean based (nonpayment: inaccurate).These buildings determine exactly how all kids elements will definitely function.
Boolean img (nonpayment: inaccurate).
Amount collections (default: 4).That's it basically! This open source job is actually under an MIT permit.

Articles You Can Be Interested In