Rye 0.0.1
Website and documentation http://ryejs.com
Rye is a lightweight javascript library for DOM manipulation and events with support for all modern browsers, including IE9+. It also has touch events/gestures, an event emitter constructor, and a jQuery-like API.
Browser compatiblity
Browser | Version |
---|---|
Chrome | 6+ |
Safari | 5+ |
Firefox | 6+ |
IE | 9+ |
Opera | 11.5+ |
Browser | Version |
---|---|
iOS | 4.1+ (6.0.1) |
Android | 4.0+ |
Blackberry | 10+ |
Opera Mobile | 11.1+ (12.1) |
Chrome (Android) | 18+ (18) |
Firefox (Android) | 15+ (18) |
API
Rye
Data
Traversal
Filter
Query
Collection
Manipulation
text
html
empty
append
prepend
after
before
clone
remove
val
attr
prop
Rye.create
@getValue
@getAttribute
Style
show
hide
css
hasClass
addClass
removeClass
toggleClass
@getCSS
@setCSS
@hasClass
@addClass
@removeClass
Event Emitter
DOM Event Emitter
Events
addListener
once
removeListener
trigger
@getEmitter
@createEvent
@addListener
@once
@removeListener
@trigger
Rye.subscribe
Rye.unsubscribe
Rye.publish
Touch Events
Request
Util
@extend
@inherits
@isElement
@isNodeList
@unique
@pluck
@put
@prefix
@applier
@curry
@getUid
@type
@is
Loosely based on Zepto and Ender.
by jcemer and ricardobeat