All Projects → QingWei-Li → vue-delay

QingWei-Li / vue-delay

Licence: other
🐌 Delay rendering component for Vue.js

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects

vue-delay

npm vue

🐌 Delay rendering component for Vue.js

Installation

npm i vue-delay

Usages

import Vue from 'vue'
import Delay from 'vue-delay'

Vue.use(Delay)
// or
// new Vue({
//  components: { Delay }
// })
<delay :wait="5000">
  <h1>Hi Guys!</h1>
</delay>

Options

wait

  • Type: Number
  • Default: 0

Waiting timestamp

from

  • Type: Number
  • Default: Date.now()

Start timestamp

Slots

loading

<delay :wait="5000">
  <div slot="loading">Ahem...</div>
  <h1>Hi Guys!</h1>
</delay>

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].