Sleep

Composable parts for rendering progressive web content like Facebook in Vue.js

.vue-content-placeholders.Vue.js plugin for rendering bogus web content (Facebook like). It may be useful as a placeholder while information is loading or data bring to deliver better UX as well as lower bounce rate.You can utilize it as every other component (plugin) for Vue ventures. For instance:.Consumption.Installation.* via npm: 'npm set up vue-content-placeholders-- save'.* using yarn: 'anecdote incorporate vue-content-placeholders'.Consist of the plugin in your main.js file.bring in Vue coming from 'vue'.bring in VueContentPlaceholders from 'vue-content-placeholders'.Vue.use( VueContentPlaceholders).A css data is actually included when importing the bundle. You may must system your bundler to install the css in your webpage.In your design templates:.content-placeholders is the major part as well as within 3 sorts of material may exist.
For accessible properties check out further below.
Outcome:.
Outcome:.Offered parts as well as properties.origin.Boolean computer animated (default: real).Boolean rounded (default: untrue) - perimeter radius.Boolean focused (default: untrue).These residential properties specify how all youngsters parts are going to act.
Boolean img (nonpayment: inaccurate).
Amount series (nonpayment: 4).That's it basically! This available resource venture is actually under an MIT permit.