Defined In: | Roo.js. |
Class: | Roo |
Property | Description | Defined By | |
---|---|---|---|
Roo.BLANK_IMAGE_URL :
String
|
URL to a 1x1 transparent gif image used by Roo to create inline icons with CSS background images.
URL to a 1x1 transparent gif image used by Roo to create inline icons with CSS background images. (Defaults to
"http://Roojs.com/s.gif" and you should change this to a URL on your server). |
Roo | |
Roo.MessageBox :
|
Shorthand for {link Roo.MessageBox}
Shorthand for {link Roo.MessageBox}
|
Roo | |
Roo.Msg :
|
Shorthand for {link Roo.MessageBox}
Shorthand for {link Roo.MessageBox}
|
Roo | |
Roo.SSL_SECURE_URL :
String
|
URL to a blank file used by Roo when in secure mode for iframe src and onReady src to prevent
the IE insecure content warning (defaults to javascript:false).
URL to a blank file used by Roo when in secure mode for iframe src and onReady src to prevent
the IE insecure content warning (defaults to javascript:false). |
Roo | |
Roo.debug :
Boolean
|
Turn on debugging output (currently only the factory uses this)
Turn on debugging output (currently only the factory uses this)
|
Roo | |
Roo.enableGarbageCollector :
Boolean
|
True to automatically uncache orphaned Roo.Elements periodically (defaults to true)
True to automatically uncache orphaned Roo.Elements periodically (defaults to true)
|
Roo | |
Roo.enableListenerCollection :
Boolean
|
True to automatically purge event listeners after uncaching an element (defaults to false).
True to automatically purge event listeners after uncaching an element (defaults to false).
Note: this only happens if enableGarbageCollector is true. |
Roo | |
Roo.isBorderBox :
Boolean
|
|
Roo | |
Roo.isFirefox :
Boolean
|
|
Roo | |
Roo.isGecko :
Boolean
|
|
Roo | |
Roo.isIE :
Boolean
|
|
Roo | |
Roo.isIE11 :
Boolean
|
|
Roo | |
Roo.isIE7 :
Boolean
|
|
Roo | |
Roo.isIOS :
Boolean
|
|
Roo | |
Roo.isLinux :
Boolean
|
|
Roo | |
Roo.isMac :
Boolean
|
|
Roo | |
Roo.isOpera :
Boolean
|
|
Roo | |
Roo.isReady :
Boolean
|
True when the document is fully initialized and ready for action
True when the document is fully initialized and ready for action
|
Roo | |
Roo.isSafari :
Boolean
|
|
Roo | |
Roo.isSecure :
Boolean
|
True if the page is running over SSL
True if the page is running over SSL
|
Roo | |
Roo.isStrict :
Boolean
|
True if the browser is in strict mode
True if the browser is in strict mode
|
Roo | |
Roo.isTouch :
Boolean
|
|
Roo | |
Roo.isWindows :
Boolean
|
|
Roo | |
Roo.useShims :
Boolean
|
By default, Ext intelligently decides whether floating elements should be shimmed.
By default, Ext intelligently decides whether floating elements should be shimmed. If you are using flash,
you may want to set this to true. |
Roo |
Method | Defined By | |
---|---|---|
Roo.addBehaviors
(Object obj)
Applies event listeners to elements by selectors when the document is ready.
Applies event listeners to elements by selectors when the document is ready.
The event name is specified with an @ suffix.
|
Roo | |
Roo | ||
Roo | ||
Roo.decode
()
Shorthand for {link Roo.util.JSONdecode}
Shorthand for {link Roo.util.JSONdecode}
|
Roo | |
Iterates an array calling the passed function with each item, stopping if your function returns false.
Iterates an array calling the passed function with each item, stopping if your function returns false. If the
passed array is not really an array, your function is called once with it. The supplied function is called with (Object item, Number index, Array allItems). |
Roo | |
Roo.encode
()
Shorthand for {link Roo.util.JSONencode}
Shorthand for {link Roo.util.JSONencode}
|
Roo | |
Roo | ||
Roo | ||
Extends one class with another class and optionally overrides members with the passed literal.
Extends one class with another class and optionally overrides members with the passed literal. This class
also adds the function "override()" to the class that can be used to override members on an instance. |
Roo | |
Creates namespaces to be used for scoping variables and classes so that they are not global.
|
Roo | |
Gets the globally shared flyweight Element, with the passed node as the active element.
Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element -
the dom node can be overwritten by other code. Shorthand of {link Roo.Elementfly}
|
Roo | |
Roo.get
(String/HTMLElement/Element el)
:
Element
Static method to retrieve Element objects.
Static method to retrieve Element objects. Uses simple caching to consistently return the same object.
Automatically fixes if an object was recreated with the same id via AJAX or DOM. Shorthand of {link Roo.Elementget}
|
Roo | |
Roo.getCmp
(String id)
:
Shorthand for {link Roo.ComponentMgrget}
Shorthand for {link Roo.ComponentMgrget}
|
Roo | |
Roo.getDom
(String/HTMLElement/Roo.Element el)
:
Return the dom node for the passed string (id), dom node, or Roo.Element
Return the dom node for the passed string (id), dom node, or Roo.Element
|
Roo | |
Roo | ||
Returns true if the passed value is null, undefined or an empty string (optional).
|
Roo | |
Roo | ||
Creates namespaces to be used for scoping variables and classes so that they are not global.
|
Roo | |
Fires when the document is ready (before onload and before images are loaded).
Fires when the document is ready (before onload and before images are loaded). Shorthand of {link Roo.EventManageronDocumentReady}.
|
Roo | |
Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name.
Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name.
Usage:
|
Roo | |
Roo | ||
Roo.select
(String/Array selector, Boolean unique, HTMLElement/String root)
:
CompositeElementLite/CompositeElement
Selects elements based on the passed CSS selector to enable working on them as 1.
Selects elements based on the passed CSS selector to enable working on them as 1.
|
Roo | |
Selects a single element as a Roo Element
This is about as close as you can get to jQuery's $('do crazy stuff')
Selects a single element as a Roo Element
This is about as close as you can get to jQuery's $('do crazy stuff')
|
Roo | |
Roo.type
(Mixed object)
:
String
Returns the type of object that is passed in.
Returns the type of object that is passed in. If the object passed in is null or undefined it
return false otherwise it returns one of the following values:
|
Roo | |
Takes an encoded URL and and converts it to an object.
Takes an encoded URL and and converts it to an object. e.g. Roo.urlDecode("foo=1&bar=2"); would return {foo: 1, bar: 2} or Roo.urlDecode("foo=1&bar=2&bar=3&bar=4", true); would return {foo: 1, bar: [2, 3, 4]}.
|
Roo | |
Takes an object and converts it to an encoded URL.
Takes an object and converts it to an encoded URL. e.g. Roo.urlEncode({foo: 1, bar: 2}); would return "foo=1&bar=2". Optionally, property values can be arrays, instead of keys and the resulting string that's returned will contain a name/value pair for each array value.
|
Roo |