1.0.0 • Published 3 years ago

vue-dotdotdot v1.0.0

Weekly downloads
3
License
BSD-3-Clause
Repository
github
Last release
3 years ago

Dotdotdot

2 basic vuejs components to provide "a loading dots thing"

Installation

npm install vue-dotdotdot

Usage

import { dotdotdot } from 'vue-dotdotdot'
Vue.component('dotdotdot', dotdotdot)
<dotdotdot dots=3 />

or

import { customDot } from 'vue-dotdotdot'
Vue.component('dotdotdot', customDot)
<customDot text="*#* what ever you want really" />

dotdotdot Props

dots

Specifies the number of dots that load over time.

  • Type: Number
  • Default: 3

speed

Specifies the speed to append new text.

  • Type: Number
  • Default: 300

customDot props

text

speed

Specifies the speed to append new text.

  • Type: Number
  • Default: 300