Sleep

Composable parts for rendering modern material like Facebook in Vue.js

.vue-content-placeholders.Vue.js plugin for making phony information (Facebook like). It may be useful as a placeholder while information is packing or even records getting to deliver far better UX as well as lower bounce cost.You may utilize it as every other part (plugin) for Vue projects. For instance:.Use.Setup.* by means of npm: 'npm mount vue-content-placeholders-- spare'.* using yarn: 'anecdote add vue-content-placeholders'.Feature the plugin in your main.js report.import Vue from 'vue'.bring in VueContentPlaceholders coming from 'vue-content-placeholders'.Vue.use( VueContentPlaceholders).A css data is consisted of when importing the deal. You may have to system your bundler to install the css in your webpage.In your design templates:.content-placeholders is the main element and within 3 forms of material can easily exist.
For on call residential properties look further listed below.
Outcome:.
End result:.On call parts as well as residential or commercial properties.origin.Boolean cartoon (default: true).Boolean pivoted (nonpayment: false) - border distance.Boolean focused (default: inaccurate).These residential or commercial properties describe exactly how all little ones elements will definitely behave.
Boolean img (default: false).
Number lines (default: 4).That's it more or less! This open source project is under an MIT permit.

Articles You Can Be Interested In