vue-glitch
👻 Vue.js component to apply glitch effect in any kind of text
Install
$ npm i -S vue-glitch # or $ yarn add vue-glitch
Global Registration
// main.js ;; Vue;
Local Registration
Component Usage
Component Properties
name | required | default |
---|---|---|
text | true |
|
color | false |
#fff |
background | false |
#000 |
Component Styling
To apply custom styles you should care about
.glitch
and.glitch-wrapper
classes.
Development Setup
# install dependencies $ npm i # dev mode $ npm run dev # test $ npm run test # build $ npm run build
This project was generated with generator-vue-component
⌨️ with ❤️ by @ianaya89