ch.Transition (Class)
Documentation updated on Fri May 18 2012 12:47:11 GMT-0300 (GMT-03:00), generated by JsDoc Toolkit 2.4.0
Contents
Overview
Transition
- Constructor name: ch.Transition(conf)
- ch.Transition extends ch.Floats.
- View source on GitHub.
Summary
Fields borrowed from class ch.Floats: $container,$content,active,source,that
Fields borrowed from class ch.Uiobject: DOMParent,originalContent,position,staticContent
Methods borrowed from class ch.Floats: closable, contentCallback, contentError, createClose, createCone, height, hide, innerHide, innerShow, isActive, show, size, width
Methods borrowed from class ch.Uiobject: content, prevent
Methods borrowed from class ch.Object: callbacks, off, on, once, trigger
Classdetail
Parameters
-
conf: Object, Optional. Object with configuration properties. -
conf.content: String, Optional. Sets content by: static content, DOM selector or URL. By default, the content is the href attribute value or form's action attribute. -
conf.width: Number || String, Optional. Sets width property of the component's layout. By default, the width is "500px". -
conf.height: Number || String, Optional. Sets height property of the component's layout. By default, the height is elastic. -
conf.fx: Boolean, Optional. Enable or disable UI effects. By default, the effects are enable. -
conf.cache: Boolean, Optional. Enable or disable the content cache. By default, the cache is enable. -
conf.closable: String, Optional. Sets the way (true, "button" or false) the Transition close. By default, the transition close true.
Returns
- itself
Requires
See
Examples
// Create a new modal window with configuration.
var me = $("a.example").transition({
"content": "Some content here!",
"width": "500px",
"height": 350,
"cache": false,
"fx": false
});