Sleep

Composable components for leaving progressive web content like Facebook in Vue.js

.vue-content-placeholders.Vue.js plugin for providing phony material (Facebook like). It can be useful as a placeholder while information is actually filling or records retrieving to supply better UX and also lower bounce cost.You can utilize it as some other element (plugin) for Vue jobs. As an example:.Usage.Installation.* through npm: 'npm put up vue-content-placeholders-- spare'.* via anecdote: 'anecdote incorporate vue-content-placeholders'.Consist of the plugin in your main.js documents.bring in Vue from 'vue'.bring in VueContentPlaceholders coming from 'vue-content-placeholders'.Vue.use( VueContentPlaceholders).A css documents is actually featured when importing the package. You might have to setup your bundler to embed the css in your page.In your design templates:.content-placeholders is the main element as well as within 3 types of web content can easily exist.
For on call residential properties check out even further listed below.
End result:.
End result:.Available parts and residential properties.origin.Boolean computer animated (default: true).Boolean rounded (nonpayment: false) - perimeter distance.Boolean centered (default: incorrect).These residential properties define how all children components are going to behave.
Boolean img (nonpayment: untrue).
Variety series (default: 4).That's it basically! This open resource venture is under an MIT certificate.

Articles You Can Be Interested In