glitchies
v1.0.1
Published
Create an glitch animation on any html element
Downloads
6
Readme
example
js
import * as Glitchies from 'glitchies'
Glitchies.configureDefaults({
hover: 'parent',
hoverInverse: true
})
Glitchies.listen()
html
<div data-glitchies='{ "totalClones": 4 }'>very pretty text</div>
options
axis?: {
x: boolean
y: boolean
}
hover?: boolean | string
hoverInverse?: boolean
totalClones?: number