Package: | Global |
Class: | Ext |
Extends: | Object |
Defined In: | Ext.js |
Property | Defined By | |
---|---|---|
BLANK_IMAGE_URL : String | Ext | |
URL to a 1x1 transparent gif image used by Ext to create inline icons with CSS background images. (Defaults to "http:... | ||
SSL_SECURE_URL : String | Ext | |
URL to a blank file used by Ext when in secure mode for iframe src and onReady src to prevent the IE insecure content... | ||
isStrict : Boolean | Ext | |
True if the browser is in strict mode | ||
useShims : Boolean | Ext | |
By default, Ext intelligently decides whether floating elements should be shimmed. If you are using flash, you ... |
Method | Defined By | |
---|---|---|
apply(Object obj , Object config , Object defaults ) : Object |
Ext | |
* Copies all the properties of config to obj. | ||
applyIf(Object obj , Object config ) : Object |
Ext | |
Copies all the properties of config to obj if they don't already exist. | ||
decode() : void | Ext | |
Shorthand for Ext.util.JSON.decode | ||
each(Array/NodeList/Mixed array , Function fn , Object scope ) : void |
Ext | |
Iterates an array calling the passed function with each item, stopping if your function returns false. If the passed ... | ||
encode() : void | Ext | |
Shorthand for Ext.util.JSON.encode | ||
escapeRe(String str ) : String |
Ext | |
Escapes the passed string for use in a regular expression | ||
extend(Object subclass , Object superclass , [Object overrides ]) : void |
Ext | |
Extends one class with another class and optionally overrides members with the passed literal. This class also adds t... | ||
fly(String/HTMLElement el , [String named ]) : Element |
Ext | |
<static> Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a... | ||
get(String/HTMLElement/Element el ) : Element |
Ext | |
Static method to retreive Element objects. Uses simple caching to consistently return the same object. Automatically... | ||
getDom(String/HTMLElement/Element) el ) : HTMLElement |
Ext | |
Return the dom node for the passed string (id), dom node, or Ext.Element | ||
id([String/HTMLElement/Element el ], [String prefix ]) : void |
Ext | |
Generates unique ids. If the element already has an id, it is unchanged | ||
namespace(String namespace1 , String namespace2 , String etc ) : void |
Ext | |
Creates namespaces but does not assume YAHOO is the root. | ||
onReady(Function fn , Object scope , boolean override ) : void |
Ext | |
Fires when the document is ready (before onload and before images are loaded). Shorthand of Ext.EventManager.onDocum... | ||
query(String path , [Node root ]) : Array |
Ext | |
Selects an array of DOM nodes by CSS/XPath selector. Shorthand of Ext.DomQuery.select | ||
select(String/Array selector , [Boolean unique ]) : CompositeElementLite/CompositeElement |
Ext | |
Selects elements based on the passed CSS selector to enable working on them as 1. | ||
urlDecode(String string , [Boolean overwrite ]) : Object |
Ext | |
Takes an encoded URL and and converts it to an object. e.g. Ext.urlDecode("foo=1&bar=2"); would return {foo: 1, bar: ... | ||
urlEncode(Object o ) : String |
Ext | |
Takes an object and converts it to an encoded URL. e.g. Ext.urlEncode({foo: 1, bar: 2}); would return "foo=1&bar=2". ... |
public String BLANK_IMAGE_URL
public String SSL_SECURE_URL
public Boolean isStrict
public Boolean useShims
public function apply(Object obj
, Object config
, Object defaults
)
obj
: Objectconfig
: Objectdefaults
: ObjectObject
public function applyIf(Object obj
, Object config
)
obj
: Objectconfig
: ObjectObject
public function decode()
void
public function each(Array/NodeList/Mixed array
, Function fn
, Object scope
)
array
: Array/NodeList/Mixedfn
: Functionscope
: Objectvoid
public function encode()
void
public function escapeRe(String str
)
str
: StringString
public function extend(Object subclass
, Object superclass
, [Object overrides
])
subclass
: Objectsuperclass
: Objectoverrides
: Objectvoid
public function fly(String/HTMLElement el
, [String named
])
el
: String/HTMLElementnamed
: StringElement
public function get(String/HTMLElement/Element el
)
el
: String/HTMLElement/ElementElement
public function getDom(String/HTMLElement/Element) el
)
el
: String/HTMLElement/Element)HTMLElement
public function id([String/HTMLElement/Element el
], [String prefix
])
el
: String/HTMLElement/Elementprefix
: Stringvoid
public function namespace(String namespace1
, String namespace2
, String etc
)
namespace1
: Stringnamespace2
: Stringetc
: Stringvoid
public function onReady(Function fn
, Object scope
, boolean override
)
fn
: Functionscope
: Objectoverride
: booleanvoid
public function query(String path
, [Node root
])
path
: Stringroot
: NodeArray
public function select(String/Array selector
, [Boolean unique
])
selector
: String/Arrayunique
: BooleanCompositeElementLite/CompositeElement
public function urlDecode(String string
, [Boolean overwrite
])
string
: Stringoverwrite
: BooleanObject
public function urlEncode(Object o
)
o
: ObjectString