These are chat archives for synrc/n2o

25th
Nov 2015
Maruthavanan Subbaryan
@marutha
Nov 25 2015 12:43
@m-2k does n2o borrow the effects also from nitrogen? http://nitrogenproject.com/demos/effects
I am looking on how to change class to an html element.. and I would also be happy if we can do some animation like above
Namdak Tonpa
@5HT
Nov 25 2015 12:49
just use wf:wire in your effects lib
Andy
@m-2k
Nov 25 2015 12:49
jquery -- sucks
Namdak Tonpa
@5HT
Nov 25 2015 12:49
n2o doesn't rely on jQuery, btw
Andy
@m-2k
Nov 25 2015 12:49
wf:wire() yep
wf:wire("qi('element').classList.add('class');"),
also wf:hide(), wf:show()
Andy
@m-2k
Nov 25 2015 12:54
and also wire raw JS for animation start when it contain in css as @keyframes
qi('element_id').style.webkitAnimationName = 'anim_name';
Namdak Tonpa
@5HT
Nov 25 2015 12:58
cool, meybe you should put this to @synrc/nitro ;-)
like nitro:class or nitro:animation
Andy
@m-2k
Nov 25 2015 12:58
maybe
azaza
Namdak Tonpa
@5HT
Nov 25 2015 12:59
@marutha as you may know, we pushed nitro stuff out from n2o to separate project
so feel free to enrich it with nitrogen-like jQuery free effects library