PHP Classes

File: src/components/skeleton/SkeletonText.vue

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   WP Emailer   src/components/skeleton/SkeletonText.vue   Download  
File: src/components/skeleton/SkeletonText.vue
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WP Emailer
Allow WordPress users to configure email settings
Author: By
Last change:
Date: 1 year ago
Size: 789 bytes
 

Contents

Class file image Download
<template> <div class="skeleton skeleton-text" :style="skeletonWidthStyle" /> </template> <script> export default { name: "SkeletonText", props: { width: { type: String, required: false, default: '100%', } }, computed: { skeletonWidthStyle() { return { width: this.width }; } } }; </script> <style lang="scss" scoped> .skeleton { animation: skeleton-loading 1s linear infinite alternate; } @keyframes skeleton-loading { 0% { background-color: hsl(200, 20%, 80%); } 100% { background-color: hsl(200, 20%, 95%); } } .skeleton-text { width: 100%; height: 0.7rem; margin-bottom: 0.5rem; border-radius: 0.25rem; } </style>