X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsymbols%2FRoo.Element.json;fp=docs%2Fsymbols%2FRoo.Element.json;h=c16909dabedd2854162ba3b2552502c31dcd6644;hp=28c3b8d44a174a21fe35d101c11a2e5fc7041584;hb=e01802ac69da0ec0c9ccecc295beff82c1779f68;hpb=0fa7894b7489284160ff14afdca7b6911983357f
diff --git a/docs/symbols/Roo.Element.json b/docs/symbols/Roo.Element.json
index 28c3b8d44a..c16909dabe 100644
--- a/docs/symbols/Roo.Element.json
+++ b/docs/symbols/Roo.Element.json
@@ -1,10 +1,19 @@
{
"name" : "Roo.Element",
"augments" : [],
+ "childClasses" : {
+ "Roo.Element" : [
+ "Roo.Layer"
+ ]
+ },
+ "tree_children" : [],
+ "tree_parent" : [],
"desc" : "Represents an Element in the DOM.
\nUsage:
\n
\nvar el = Roo.get(\"my-div\");\n\n// or with getEl\nvar el = getEl(\"my-div\");\n\n// or with a DOM element\nvar el = Roo.get(myDivElement);\n
\nUsing Roo.get() or getEl() instead of calling the constructor directly ensures you get the same object\neach call instead of constructing a new one.\nOption Default Description\n--------- -------- ---------------------------------------------\nduration .35 The duration of the animation in seconds\neasing easeOut The YUI easing method\ncallback none A function to execute when the anim completes\nscope this The scope (this) of the callback function\n\nAlso, the Anim object being used for the animation will be set on your options object as \"anim\", which allows you to stop or\nmanipulate the animation. Here's an example:\n
\nvar el = Roo.get(\"my-div\");\n\n// no animation\nel.setWidth(100);\n\n// default animation\nel.setWidth(100, true);\n\n// animation with some options set\nel.setWidth(100, {\n duration: 1,\n callback: this.foo,\n scope: this\n});\n\n// using the \"anim\" property to get the Anim object\nvar opt = {\n duration: 1,\n callback: this.foo,\n scope: this\n};\nel.setWidth(100, opt);\n...\nif(opt.anim.isAnimated()){\n opt.anim.stop();\n}\n
\n Composite (Collections of) Elements\n Value Description\n ----- -----------------------------\n tl The top left corner (default)\n t The center of the top edge\n tr The top right corner\n l The center of the left edge\n c In the center of the element\n r The center of the right edge\n bl The bottom left corner\n b The center of the bottom edge\n br The bottom right corner\n\n Example Usage:\n
\n // align el to other-el using the default positioning (\"tl-bl\", non-constrained)\n el.alignTo(\"other-el\");\n\n // align the top left corner of el with the top right corner of other-el (constrained to viewport)\n el.alignTo(\"other-el\", \"tr?\");\n\n // align the bottom right corner of el with the center left edge of other-el\n el.alignTo(\"other-el\", \"br-l?\");\n\n // align the center of el with the bottom left corner of other-el and\n // adjust the x position by -6 pixels (and the y position by 0)\n el.alignTo(\"other-el\", \"c-bl\", [-6, 0]);\n
",
+ "sig" : "(element, position, offsets, animate)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "element",
@@ -2230,15 +2601,20 @@
},
{
"name" : "insertAfter",
+ "type" : "function",
"desc" : "Inserts this element after the passed element in the DOM",
+ "sig" : "(el)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "el",
@@ -2257,15 +2633,20 @@
},
{
"name" : "hide",
+ "type" : "function",
"desc" : "Hide this element - Uses display mode to determine whether to use \"display\" or \"visibility\". See {@link #setVisible}.",
+ "sig" : "(animate)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "animate",
@@ -2284,15 +2665,20 @@
},
{
"name" : "setBottom",
+ "type" : "function",
"desc" : "Sets the element's CSS bottom style.",
+ "sig" : "(bottom)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "bottom",
@@ -2311,15 +2697,20 @@
},
{
"name" : "clearPositioning",
+ "type" : "function",
"desc" : "Clear positioning back to the default when the document was loaded",
+ "sig" : "(value)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "value",
@@ -2338,15 +2729,20 @@
},
{
"name" : "isDisplayed",
+ "type" : "function",
"desc" : "Returns true if display is not \"none\"",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : [
{
@@ -2358,15 +2754,20 @@
},
{
"name" : "show",
+ "type" : "function",
"desc" : "Show this element - Uses display mode to determine whether to use \"display\" or \"visibility\". See {@link #setVisible}.",
+ "sig" : "(animate)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "animate",
@@ -2385,15 +2786,20 @@
},
{
"name" : "setLeftTop",
+ "type" : "function",
"desc" : "Quick set left and top adding default units",
+ "sig" : "(left, top)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "left",
@@ -2418,15 +2824,20 @@
},
{
"name" : "child",
+ "type" : "function",
"desc" : "Selects a single child at any depth below this element based on the passed CSS selector (the selector should not contain an id).",
+ "sig" : "(selector, returnDom)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "selector",
@@ -2451,29 +2862,39 @@
},
{
"name" : "unmask",
+ "type" : "function",
"desc" : "Removes a previously applied mask. If removeEl is true the mask overlay is destroyed, otherwise\nit is cached for reuse.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : []
},
{
"name" : "moveTo",
+ "type" : "function",
"desc" : "Sets the position of the element in page coordinates, regardless of how the element is positioned.\nThe element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
+ "sig" : "(x, y, animate)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "x",
@@ -2504,15 +2925,20 @@
},
{
"name" : "addClassOnOver",
+ "type" : "function",
"desc" : "Sets up event handlers to add and remove a css class when the mouse is over this element",
+ "sig" : "(className, preventFlicker)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "className",
@@ -2537,15 +2963,20 @@
},
{
"name" : "getLeft",
+ "type" : "function",
"desc" : "Gets the left X coordinate",
+ "sig" : "(local)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "local",
@@ -2564,15 +2995,20 @@
},
{
"name" : "isScrollable",
+ "type" : "function",
"desc" : "Returns true if this element is scrollable.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : [
{
@@ -2584,15 +3020,20 @@
},
{
"name" : "boxWrap",
+ "type" : "function",
"desc" : "Wraps the specified element with a special markup/CSS block that renders by default as a gray container with a\ngradient background, rounded corners and a 4-way shadow.",
+ "sig" : "(class)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "class",
@@ -2611,15 +3052,20 @@
},
{
"name" : "replace",
+ "type" : "function",
"desc" : "Replaces the passed element with this element",
+ "sig" : "(el)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "el",
@@ -2638,15 +3084,20 @@
},
{
"name" : "select",
+ "type" : "function",
"desc" : "Creates a {@link Roo.CompositeElement} for child nodes based on the passed CSS selector (the selector should not contain an id).",
+ "sig" : "(selector, unique)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "selector",
@@ -2671,15 +3122,20 @@
},
{
"name" : "isMasked",
+ "type" : "function",
"desc" : "Returns true if this element is masked",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : [
{
@@ -2691,15 +3147,20 @@
},
{
"name" : "getUpdateManager",
+ "type" : "function",
"desc" : "Gets this element's UpdateManager",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : [
{
@@ -2711,15 +3172,20 @@
},
{
"name" : "insertHtml",
+ "type" : "function",
"desc" : "Inserts an html fragment into this element",
+ "sig" : "(where, html, returnEl)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "where",
@@ -2750,15 +3216,20 @@
},
{
"name" : "mask",
+ "type" : "function",
"desc" : "Puts a mask over this element to disable user interaction. Requires core.css.\nThis method can only be applied to elements which accept child nodes.",
+ "sig" : "(msg, msgCls)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "msg",
@@ -2783,15 +3254,20 @@
},
{
"name" : "getTop",
+ "type" : "function",
"desc" : "Gets the top Y coordinate",
+ "sig" : "(local)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "local",
@@ -2810,15 +3286,20 @@
},
{
"name" : "getBottom",
+ "type" : "function",
"desc" : "Gets the bottom Y coordinate of the element (element Y position + element height)",
+ "sig" : "(local)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "local",
@@ -2837,15 +3318,20 @@
},
{
"name" : "getRight",
+ "type" : "function",
"desc" : "Gets the right X coordinate of the element (element X position + element width)",
+ "sig" : "(local)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "local",
@@ -2864,15 +3350,20 @@
},
{
"name" : "beginMeasure",
+ "type" : "function",
"desc" : "Temporarily enables offsets (width,height,x,y) for an element with display:none, use endMeasure() when done.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : [
{
@@ -2884,15 +3375,20 @@
},
{
"name" : "appendTo",
+ "type" : "function",
"desc" : "Appends this element to the passed element",
+ "sig" : "(el)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "el",
@@ -2911,15 +3407,20 @@
},
{
"name" : "fly",
+ "type" : "function",
"desc" : "Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element -\nthe dom node can be overwritten by other code.",
+ "sig" : "(el, named)",
+ "static" : true,
+ "memberOf" : "",
"isStatic" : true,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "el",
@@ -2944,15 +3445,20 @@
},
{
"name" : "hasClass",
+ "type" : "function",
"desc" : "Checks if the specified CSS class exists on this element's DOM node.",
+ "sig" : "(className)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "className",
@@ -2971,29 +3477,39 @@
},
{
"name" : "findScrollableParent",
+ "type" : "function",
"desc" : "Looks at the scrollable parent element",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : []
},
{
"name" : "fitToParent",
+ "type" : "function",
"desc" : "Sizes this element to its parent element's dimensions performing\nneccessary box adjustments.",
+ "sig" : "(monitorResize, targetParent)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "monitorResize",
@@ -3018,15 +3534,20 @@
},
{
"name" : "setXY",
+ "type" : "function",
"desc" : "Sets the position of the element in page coordinates, regardless of how the element is positioned.\nThe element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
+ "sig" : "(pos, animate)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "pos",
@@ -3051,15 +3572,20 @@
},
{
"name" : "getXY",
+ "type" : "function",
"desc" : "Gets the current position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : [
{
@@ -3071,15 +3597,20 @@
},
{
"name" : "unselectable",
+ "type" : "function",
"desc" : "Disables text selection for this element (normalized across browsers)",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : [
{
@@ -3091,15 +3622,20 @@
},
{
"name" : "blur",
+ "type" : "function",
"desc" : "Tries to blur the element. Any exceptions are caught and ignored.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : [
{
@@ -3111,15 +3647,20 @@
},
{
"name" : "setRight",
+ "type" : "function",
"desc" : "Sets the element's CSS right style.",
+ "sig" : "(right)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "right",
@@ -3138,15 +3679,20 @@
},
{
"name" : "findParentNode",
+ "type" : "function",
"desc" : "Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)",
+ "sig" : "(selector, maxDepth, returnEl)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "selector",
@@ -3177,15 +3723,20 @@
},
{
"name" : "position",
+ "type" : "function",
"desc" : "Initializes positioning on this element. If a desired position is not passed, it will make the\nthe element positioned relative IF it is not already positioned.",
+ "sig" : "(pos, zIndex, x, y)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "pos",
@@ -3216,15 +3767,20 @@
},
{
"name" : "getFrameWidth",
+ "type" : "function",
"desc" : "Returns the sum width of the padding and borders for the passed \"sides\". See getBorderWidth()\n for more information about the sides.",
+ "sig" : "(sides)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "sides",
@@ -3243,15 +3799,20 @@
},
{
"name" : "setLocation",
+ "type" : "function",
"desc" : "Sets the position of the element in page coordinates, regardless of how the element is positioned.\nThe element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
+ "sig" : "(x, y, animate)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "x",
@@ -3282,15 +3843,20 @@
},
{
"name" : "unclip",
+ "type" : "function",
"desc" : "Return clipping (overflow) to original clipping before clip() was called",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : [
{
@@ -3302,15 +3868,20 @@
},
{
"name" : "set",
+ "type" : "function",
"desc" : "Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)",
+ "sig" : "(o, useSet)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "o",
@@ -3335,15 +3906,20 @@
},
{
"name" : "setDisplayed",
+ "type" : "function",
"desc" : "Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true.",
+ "sig" : "(value)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "value",
@@ -3362,15 +3938,20 @@
},
{
"name" : "insertFirst",
+ "type" : "function",
"desc" : "Inserts (or creates) an element (or DomHelper config) as the first child of the this element",
+ "sig" : "(el)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "el",
@@ -3389,15 +3970,20 @@
},
{
"name" : "animate",
+ "type" : "function",
"desc" : "Perform animation on this element.",
+ "sig" : "(args, duration, onComplete, easing, animType)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "args",
@@ -3440,15 +4026,20 @@
},
{
"name" : "enableDisplayMode",
+ "type" : "function",
"desc" : "Convenience method for setVisibilityMode(Element.DISPLAY)",
+ "sig" : "(display)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "display",
@@ -3467,15 +4058,20 @@
},
{
"name" : "getComputedWidth",
+ "type" : "function",
"desc" : "Returns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders\nwhen needed to simulate offsetWidth when offsets aren't available. This may not work on display:none elements\nif a width has not been set using CSS.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : [
{
@@ -3487,15 +4083,20 @@
},
{
"name" : "clip",
+ "type" : "function",
"desc" : "Store the current overflow setting and clip overflow on the element - use {@link #unclip} to remove",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : [
{
@@ -3507,15 +4108,20 @@
},
{
"name" : "setVisibilityMode",
+ "type" : "function",
"desc" : "Sets the element's visibility mode. When setVisible() is called it\nwill use this to determine whether to set the visibility or the display property.",
+ "sig" : "(visMode)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "visMode",
@@ -3534,15 +4140,20 @@
},
{
"name" : "getColor",
+ "type" : "function",
"desc" : "Return the CSS color for the specified CSS attribute. rgb, 3 digit (like #fff) and valid values\nare convert to standard 6 digit hex color.",
+ "sig" : "(attr, defaultValue, prefix)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "attr",
@@ -3567,15 +4178,20 @@
},
{
"name" : "insertSibling",
+ "type" : "function",
"desc" : "Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element",
+ "sig" : "(el, where, returnDom)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "el",
@@ -3606,15 +4222,20 @@
},
{
"name" : "removeListener",
+ "type" : "function",
"desc" : "Removes an event handler from this element",
+ "sig" : "(eventName, fn, scope)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "eventName",
@@ -3645,15 +4266,20 @@
},
{
"name" : "applyStyles",
+ "type" : "function",
"desc" : "More flexible version of {@link #setStyle} for setting style properties.",
+ "sig" : "(styles)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "styles",
@@ -3672,15 +4298,20 @@
},
{
"name" : "getPrevSibling",
+ "type" : "function",
"desc" : "Gets the previous sibling, skipping text nodes",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : [
{
@@ -3692,15 +4323,20 @@
},
{
"name" : "setBox",
+ "type" : "function",
"desc" : "Sets the element's box. Use getBox() on another element to get a box obj. If animate is true then width, height, x and y will be animated concurrently.",
+ "sig" : "(box, adjust, animate)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "box",
@@ -3731,15 +4367,20 @@
},
{
"name" : "initDDProxy",
+ "type" : "function",
"desc" : "Initializes a {@link Roo.dd.DDProxy} object for this element.",
+ "sig" : "(group, config, overrides)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "group",
@@ -3770,15 +4411,20 @@
},
{
"name" : "setX",
+ "type" : "function",
"desc" : "Sets the X position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
+ "sig" : "(The, animate)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "The",
@@ -3803,15 +4449,20 @@
},
{
"name" : "setY",
+ "type" : "function",
"desc" : "Sets the Y position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).",
+ "sig" : "(The, animate)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "The",
@@ -3836,15 +4487,20 @@
},
{
"name" : "query",
+ "type" : "function",
"desc" : "Selects child nodes based on the passed CSS selector (the selector should not contain an id).",
+ "sig" : "(selector)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "selector",
@@ -3863,15 +4519,20 @@
},
{
"name" : "getAnchorXY",
+ "type" : "function",
"desc" : "Gets the x,y coordinates specified by the anchor position on the element.",
+ "sig" : "(anchor, size, local)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "anchor",
@@ -3902,15 +4563,20 @@
},
{
"name" : "initDD",
+ "type" : "function",
"desc" : "Initializes a {@link Roo.dd.DD} drag drop object for this element.",
+ "sig" : "(group, config, overrides)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "group",
@@ -3941,15 +4607,20 @@
},
{
"name" : "getComputedHeight",
+ "type" : "function",
"desc" : "Returns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders\nwhen needed to simulate offsetHeight when offsets aren't available. This may not work on display:none elements\nif a height has not been set using CSS.",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : [
{
@@ -3961,15 +4632,20 @@
},
{
"name" : "is",
+ "type" : "function",
"desc" : "Returns true if this element matches the passed simple selector (e.g. div.some-class or span:first-child)",
+ "sig" : "(selector)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "selector",
@@ -3988,15 +4664,20 @@
},
{
"name" : "move",
+ "type" : "function",
"desc" : "Move this element relative to its current position.",
+ "sig" : "(direction, distance, animate)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "direction",
@@ -4027,29 +4708,39 @@
},
{
"name" : "remove",
+ "type" : "function",
"desc" : "Removes this element from the DOM and deletes it from the cache",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : []
},
{
"name" : "getNextSibling",
+ "type" : "function",
"desc" : "Gets the next sibling, skipping text nodes",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : [
{
@@ -4061,15 +4752,20 @@
},
{
"name" : "getStyle",
+ "type" : "function",
"desc" : "Normalizes currentStyle and computedStyle. This is not YUI getStyle, it is an optimised version.",
+ "sig" : "(property)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "property",
@@ -4088,15 +4784,20 @@
},
{
"name" : "isBorderBox",
+ "type" : "function",
"desc" : "Tests various css rules/browsers to determine if this element uses a border box",
+ "sig" : "()\n{\n\n}",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [],
"returns" : [
{
@@ -4108,15 +4809,20 @@
},
{
"name" : "getPadding",
+ "type" : "function",
"desc" : "Gets the width of the padding(s) for the specified side(s)",
+ "sig" : "(side)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.Element",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "side",