X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/output/Ext.DomHelper.html diff --git a/docs/output/Ext.DomHelper.html b/docs/output/Ext.DomHelper.html deleted file mode 100644 index 987cd5e5..00000000 --- a/docs/output/Ext.DomHelper.html +++ /dev/null @@ -1,248 +0,0 @@ -
-
- Properties - Methods - Events - Direct Link -
-

Class Ext.DomHelper

- - - - - -
Package:Ext
Defined In:DomHelper.js
Class:DomHelper
Extends:Object
-
- * -Utility class for working with DOM and/or Templates. It transparently supports using HTML fragments or DOM.
-This is an example, where an unordered list with 5 children items is appended to an existing element with id 'my-div':
-
var dh = Ext.DomHelper;
-var list = dh.append('my-div', {
-    id: 'my-ul', tag: 'ul', cls: 'my-list', children: [
-        {tag: 'li', id: 'item0', html: 'List Item 0'},
-        {tag: 'li', id: 'item1', html: 'List Item 1'},
-        {tag: 'li', id: 'item2', html: 'List Item 2'},
-        {tag: 'li', id: 'item3', html: 'List Item 3'},
-        {tag: 'li', id: 'item4', html: 'List Item 4'}
-    ]
-});
-

Element creation specification parameters in this class may also be passed as an Array of -specification objects. This can be used to insert multiple sibling nodes into an existing -container very efficiently. For example, to add more list items to the example above:

dh.append('my-ul', [
-    {tag: 'li', id: 'item5', html: 'List Item 5'},
-    {tag: 'li', id: 'item6', html: 'List Item 6'} ]);

-

Element creation specification parameters may also be strings. If useDom is false, then the string is used -as innerHTML. If useDom is true, a string specification results in the creation of a text node.

-For more information and examples, see the original blog post.

This class is a singleton and cannot be created directly.
- -
- -

Public Properties

- - - - - - - - - - -
PropertyDefined By
  - - useDom : Boolean
- True to force the use of DOM instead of html fragments
-
DomHelper
- -

Public Methods

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MethodDefined By
- -

Public Events

-
This class has no public events.
-
\ No newline at end of file