Classes
- API Home
- _global_
- Array
- Jelo
- Jelo.Ajax
- Jelo.Anim
- Jelo.Core
- Jelo.CSS
- Jelo.Dom
- Jelo.DragDrop
- Jelo.Env
- Jelo.Event
- Jelo.JSON
- Jelo.Widget
Namespace Jelo
Note: If you load Jelo.Core, every method of Jelo.Core is also available beneath Jelo itself.
For example, the "each" function can be used as Jelo.Core.each(...) or Jelo.each(...)
Defined in: Jelo.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
Jelo.css(el, p, val)
Shortcut for Jelo.CSS.getStyle and Jelo.CSS.setStyle.
|
| <static> |
Jelo.emptyFn()
Reusable empty function.
|
| <static> |
Jelo.load(module, fn)
Loads remote Jelo modules or submodules, then performs code after the load is complete.
|
| <static> |
Jelo.mold(name, object, overwrite)
Extends Jelo with the supplied module.
|
| <static> |
Jelo.on()
Shorthand for Jelo.Event.add
|
| <static> |
Jelo.onLive()
Shorthand for Jelo.Event.addLive
|
| <static> |
Jelo.un()
Shorthand for Jelo.Event.remove
|
| <static> |
Jelo.unLive()
Shorthand for Jelo.Event.removeLive
|
Method Detail
<static>
Jelo.css(el, p, val)
Shortcut for Jelo.CSS.getStyle and Jelo.CSS.setStyle. Note
that the shortcut uses lowercase "css", and the resulting behavior depends
on how many arguments you pass. Pass an element and property for getStyle,
or an element, property, and value for setStyle. If this is confusing,
it's best to explicitly call Jelo.CSS.getStyle and Jelo.CSS.setStyle.
Defined in: Jelo.CSS.js.
Defined in: Jelo.CSS.js.
- Parameters:
- el
- p
- val
<static>
Jelo.emptyFn()
Reusable empty function. Performs no operation.
<static>
Jelo.load(module, fn)
Loads remote Jelo modules or submodules, then performs code after the load is complete. Also usable as a generic
"on DOM ready" function if no modules are supplied. Dependencies are handled automatically, and are not
explicitly required. For example:
Jelo.load('ui', function() { ... code requiring the ui module ... });
Since "ui" requires "core", core will automatically be included with this request. The result is exactly
identical to the following example:
Jelo.load('core', 'ui', function() { ... code requiring the ui module ... });
Available modules and submodules:
sizzle : the Sizzle selector library core: Core, CSS, Dom, Event (requires: sizzle) io: Ajax, JSON, Session toolbox: Environment, Form ui: Anim, Dragdrop (requires: core) debug: Console (requires: core) widget: the Widget base class widgets: Panel (requires: io, ui, widget) all: Loads ALL modules in the correct order. This is the easiest way to use Jelo.
- Parameters:
- {String} module Optional
- A module group or specific submodule to load, or "all" to load the whole library.
- {String} ... Optional
- Additional module groups to load.
- {Function} fn Optional
- Code to execute after the given modules have completely loaded.
<static>
Jelo.mold(name, object, overwrite)
Extends Jelo with the supplied module. Currently, multilevel namespaces are not an option (for example,
Jelo.MyClass.MySubClass)
- Parameters:
- {String} name
- A namespace identifier for the new module.
- {Object} object
- The module itself, or an inline function which immediately returns an object.
- {Boolean} overwrite Optional, Default: false
- If a module exists with the same name, set this parameter to true to overwrite the existing module.
<static>
Jelo.on()
<static>
Jelo.onLive()
<static>
Jelo.un()
<static>
Jelo.unLive()
- recent changes — (see all)
-
- Sep 14, 2010 — Simplified DragDrop.
- Jul 19, 2010 — Fixed typo preventing reliably aborting pending Ajax requests.
- Jun 17, 2010 — Fixed a conflict preventing Easing.SWINGOUT and Easing.SWINGBOTH from running simultaneously.
- Apr 22, 2010 — Added Array support to CSS.toggleClass.
- random jelo shots — (see all)
