0.1.6 • Published 1 year ago

word-scr4mbler v0.1.6

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

vue-text-scramble-animation

Install

npm i vue-text-scramble-animation

Demo

Word Scr4mbler Demo

Quick Start

Install The package (check install) and import it as follows:

import WordScr4mbler from 'word-scr4mbler'

You are now able to use it.

<template>
  <WordScr4mbler />
</template>

Props

PropTypePurposeDefault
textStringThe Text to unscramble toWord-Scr4mbler
initStringThe Text we start fromScra-mBlErWord
switchSpeedNumberInterval in ms of scramble50
unscrambleTimeNumberThe time between scramblinf and finalizing stage5
scramble_characterStringA string of characters to which we can scrambleABCDEFGHIJKLM NOPQRSTUVXYZ012345 6789#+;-
animationTypeStringFinalizing Stage unscramble from left to right ('linear') or random (random)random

Text Styling

The component uses the specific class .WordScr4mblerText for the content. To manipulate the CSS simply use the ::v-deep .WordScr4mblerText when the parent is in scoped mode.

::v-deep .WordScr4mblerText {
  color: blue;
  font-size: 10em;
}

If the parent is not scoped, simply remove the ::v-deep

.WordScr4mblerText {
  color: blue;
  font-size: 10em;
}
0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago