Sleep

Composable elements for making dynamic content like Facebook in Vue.js

.vue-content-placeholders.Vue.js plugin for rendering artificial information (Facebook like). It can be beneficial as a placeholder while information is actually filling or even information fetching to deliver much better UX and reduced bounce fee.You can easily use it as some other component (plugin) for Vue tasks. For example:.Use.Setup.* through npm: 'npm put up vue-content-placeholders-- save'.* by means of yarn: 'yarn incorporate vue-content-placeholders'.Include the plugin in your main.js documents.bring in Vue coming from 'vue'.import VueContentPlaceholders from 'vue-content-placeholders'.Vue.use( VueContentPlaceholders).A css documents is featured when importing the deal. You might must system your bundler to install the css in your webpage.In your design templates:.content-placeholders is actually the primary part and also within 3 forms of material can exist.
For offered residential properties check out further below.
Outcome:.
Outcome:.On call elements and properties.origin.Boolean animated (nonpayment: real).Boolean pivoted (default: misleading) - border span.Boolean centered (default: false).These residential or commercial properties specify how all kids components will function.
Boolean img (default: misleading).
Variety series (nonpayment: 4).That's it basically! This available resource venture is under an MIT license.