1.1.4 ā€¢ Published 3 years ago

m4gixjs v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

šŸ§™ā€ā™‚ļø Introduction

šŸŖ„āœØ Fast annimation creation only with javascript šŸŖ„āœØ

šŸ§™ā€ā™‚ļø Install

ā­ļø npm i m4gixjs --save

šŸ§™ā€ā™‚ļø Usage

Import module:

import { Magix } from 'm4gixjs'

Example basic usage:

Magix({
    event:'click',     
    target:'#button' 
    animes:[
        {
            target:'#test',        
            css:{
                'background-color':['#00ff0c','#ffff00']
            },
        }
    ],
})

šŸŖ„ Base

Name objectInforequired
eventEvent ('click','hover')true
targetDom target eventfalse
animesArray of object animestrue
clickObject click optionsfalse
hoverObject hover optionsfalse
scrollObject scroll optionsfalse

šŸŖ„ Options

click

Name objectInfoDefault value
toggleOutToggle when click out elementtrue

hover

Name objectInfoDefault value

scroll

Name objectInfoDefault value

šŸŖ„ animes

Name objectInforequired
targetDom target animationtrue
cssCss eventfalse
Classclass eventfalse
orderOrder timeline animationfalse
timeTime of animationfalse
<!-- childContent from cell 2false -->
1.1.0

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago