0.1.2 • Published 10 years ago
ianus v0.1.2
Ianus
In ancient Roman religion and myth, Janus (Latin: Ianus, pronounced ˈjaː.nus) is the god of beginnings and transitions, and thereby of gates, doors, doorways, passages and endings. (from Wikipedia)
Ianus provides names of CSS3 animation and transition properties to make cross-browser development easier.
In environments that don’t support animations,
transitions or even a DOM, properties are simply undefined
.
The provided names are:
transitionProperty
transitionDuration
transitionTimingFunction
transitionDelay
transition
transitionend
– the name of the'transitionend'
eventcss.transitionProperty
– the CSS property namecss.transitionDuration
css.transitionTimingFunction
css.transitionDelay
css.transition
Cross-browser testing is kindly provided by BrowserStack.
But this has been written before!
Indeed, but unfortunately I could not find an implementation that would run under node.js without throwing. Since I want to share view code between browser and server, I had to come up with my own solution.