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.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
Jelo.css(el, p, val)
<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
Namespace Detail
Jelo
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.
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()
Shorthand for Jelo.Event.add
Defined in: Jelo.Event.js.

<static> Jelo.onLive()
Shorthand for Jelo.Event.addLive
Defined in: Jelo.Event.js.

<static> Jelo.un()
Shorthand for Jelo.Event.remove
Defined in: Jelo.Event.js.

<static> Jelo.unLive()
Shorthand for Jelo.Event.removeLive
Defined in: Jelo.Event.js.


recent changes — (see all)
random jelo shots — (see all)