0.1.8 • Published 6 years ago
@ariii/r v0.1.8
R

A light JavaScript library.
Installation
$ npm install @ariii/r --devUsage
Look at the src folder for more information.
Import
import R from '@ariii/r'Return the body node of the document
const body = R.Dom.bodyAdd a click event listener
R.L(element, 'a', 'click', callback)Check if a variable is an object
const isObj = R.Is.obj(variable)Play animations with Merom
const animation = new R.M({el: '#id', p: {x: [0, 600, 'px']}, d: 2000, e: 'io4'})
animation.play()
animation.play({p: {x: {newEnd: 50}}, reverse: true})Build sequences of Merom with Timeline
const tl = new R.TL()
tl.from({el: '#id0', p: {x: [0, 600, 'px'], rotate: [0, 360]}, d: 300, e: 'i3', delay: 300})
tl.from({el: '#id1', p: {x: [0, 600, 'px'], rotate: [0, 360]}, d: 500, e: 'o6', cb: callback})
tl.play()
tl.pause()Author
License
Copyright (c) 2019-present, Aristide Benoist.
0.1.8
6 years ago
0.1.4
6 years ago
0.1.3
6 years ago
0.1.5
6 years ago
0.1.2
6 years ago
0.1.0
6 years ago
0.1.1
6 years ago
0.0.44
6 years ago
0.0.43
6 years ago
0.0.42
6 years ago
0.0.41
6 years ago
0.0.40
6 years ago
0.0.39
6 years ago
0.0.38
6 years ago
0.0.37
6 years ago
0.0.36
6 years ago
0.0.35
6 years ago
0.0.34
6 years ago
0.0.33
6 years ago
0.0.32
6 years ago
0.0.31
6 years ago
0.0.30
6 years ago
0.0.29
6 years ago
0.0.28
6 years ago
0.0.27
6 years ago
0.0.26
6 years ago
0.0.25
6 years ago
0.0.24
6 years ago
0.0.23
7 years ago
0.0.22
7 years ago
0.0.21
7 years ago
0.0.20
7 years ago
0.0.19
7 years ago
0.0.18
7 years ago
0.0.17
7 years ago
0.0.16
7 years ago
0.0.15
7 years ago
0.0.14
7 years ago
0.0.13
7 years ago
0.0.12
7 years ago
0.0.11
7 years ago
0.0.10
7 years ago
0.0.9
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago