npm.io
0.1.3 • Published 5 years ago

simpleflashcomponent

Licence
Version
0.1.3
Deps
0
Size
21 kB
Vulns
0
Weekly
0

SimpleFlash

Getting Started

Simple Flash Component is a basic VueJS component that flashes set of strings. You define a set of strings and then it shows you these strings one at a time in place of each other. First one is shown, fades out, second one appears instead, then fades out and so on.

Installation

npm install simpleflashcomponent
Usage
  1. Import the component
import SimpleFlash from 'simpleflashcomponent'
  1. Use as a component and pass the array of strings with "flashTexts"
<SimpleFlash :flashTexts="['TEXT1', 'TEXT2', 'TEXT3']"></SimpleFlash>

By SimpleBackups.