2 "name" : "Roo.bootstrap.Alert",
4 "Roo.bootstrap.Component",
11 "desc" : "Bootstrap Alert class - shows an alert area box\neg\n<div class=\"alert alert-danger\" role=\"alert\"><span class=\"fa fa-exclamation-triangle\"></span><span class=\"sr-only\">Error:</span>\n Enter a valid email address\n</div>",
12 "isSingleton" : false,
16 "isBuilderTop" : false,
26 "desc" : "The config object",
37 "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
38 "memberOf" : "Roo.util.Observable"
43 "desc" : "Text for the tooltip",
44 "memberOf" : "Roo.bootstrap.Component"
47 "name" : "container_method",
49 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
50 "memberOf" : "Roo.bootstrap.Component"
53 "name" : "visibilityEl",
54 "type" : "string|object",
55 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
56 "memberOf" : "Roo.bootstrap.Component"
59 "name" : "can_build_overlaid",
61 "desc" : "True if element can be rebuild from a HTML page",
62 "memberOf" : "Roo.bootstrap.Component"
67 "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
68 "memberOf" : "Roo.Component"
73 "desc" : "The title of alert",
74 "memberOf" : "Roo.bootstrap.Alert"
79 "desc" : "default:-1 Number of seconds until it disapears (-1 means never.)",
80 "memberOf" : "Roo.bootstrap.Alert"
85 "desc" : "true to show a x closer",
86 "memberOf" : "Roo.bootstrap.Alert"
91 "desc" : "any extra css",
92 "memberOf" : "Roo.bootstrap.Component"
95 "name" : "allowDomMove",
97 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
98 "memberOf" : "Roo.Component"
103 "desc" : "The content of alert",
104 "memberOf" : "Roo.bootstrap.Alert"
109 "desc" : "css class",
110 "memberOf" : "Roo.bootstrap.Component"
115 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
116 "memberOf" : "Roo.bootstrap.Component"
119 "name" : "actionMode",
121 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el' for forms you probably want to set this to fieldEl",
122 "memberOf" : "Roo.Component"
127 "desc" : "cutomer id",
128 "memberOf" : "Roo.bootstrap.Component"
133 "desc" : "r) Weight of the message",
134 "memberOf" : "Roo.bootstrap.Alert"
139 "desc" : "font-awesomeicon",
140 "memberOf" : "Roo.bootstrap.Alert"
145 "desc" : "Specifies name attribute",
146 "memberOf" : "Roo.bootstrap.Component"
149 "name" : "disableClass",
151 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
152 "memberOf" : "Roo.Component"
159 "desc" : "Set the Title Message HTML",
164 "isConstructor" : false,
185 "desc" : "Set the Body Message HTML",
190 "isConstructor" : false,
209 "name" : "setWeight",
211 "desc" : "Set the Weight of the alert",
212 "sig" : "((success|info|warning|danger))",
216 "isConstructor" : false,
226 "name" : "(success|info|warning|danger)",
237 "desc" : "Set the Icon of the alert",
242 "isConstructor" : false,
254 "desc" : "fontawsome names (name without the 'fa-' bit)",
263 "desc" : "Hide the Alert",
264 "sig" : "()\n{\n\n}",
268 "isConstructor" : false,
282 "desc" : "Show the Alert",
283 "sig" : "()\n{\n\n}",
287 "isConstructor" : false,
299 "name" : "tooltipEl",
301 "desc" : "Fetch the element to display the tooltip on.",
302 "sig" : "()\n{\n\n}",
304 "memberOf" : "Roo.bootstrap.Component",
306 "isConstructor" : false,
318 "type" : "Roo.Element",
319 "desc" : "defaults to this.el"
324 "name" : "setVisibilityEl",
326 "desc" : "Set the element that will be used to show or hide",
327 "sig" : "()\n{\n\n}",
329 "memberOf" : "Roo.bootstrap.Component",
331 "isConstructor" : false,
343 "name" : "getVisibilityEl",
345 "desc" : "Get the element that will be used to show or hide",
346 "sig" : "()\n{\n\n}",
348 "memberOf" : "Roo.bootstrap.Component",
350 "isConstructor" : false,
362 "name" : "initEvents",
364 "desc" : "Initialize Events for the element",
365 "sig" : "()\n{\n\n}",
367 "memberOf" : "Roo.bootstrap.Component",
369 "isConstructor" : false,
381 "name" : "getChildContainer",
383 "desc" : "Fetch the element to add children to",
384 "sig" : "()\n{\n\n}",
386 "memberOf" : "Roo.bootstrap.Component",
388 "isConstructor" : false,
400 "type" : "Roo.Element",
401 "desc" : "defaults to this.el"
408 "desc" : "Returns the id of this component.",
409 "sig" : "()\n{\n\n}",
411 "memberOf" : "Roo.Component",
413 "isConstructor" : false,
433 "desc" : "If this is a lazy rendering component, render it to its container element.",
434 "sig" : "(container)",
436 "memberOf" : "Roo.Component",
438 "isConstructor" : false,
448 "name" : "container",
449 "type" : "String/HTMLElement/Element",
450 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
459 "desc" : "Destroys this component by purging any event listeners, removing the component's element from the DOM,\nremoving the component from its {@link Roo.Container} (if applicable) and unregistering it from {@link Roo.ComponentMgr}.",
460 "sig" : "()\n{\n\n}",
462 "memberOf" : "Roo.Component",
464 "isConstructor" : false,
476 "name" : "isVisible",
478 "desc" : "Returns true if this component is visible.",
479 "sig" : "()\n{\n\n}",
481 "memberOf" : "Roo.Component",
483 "isConstructor" : false,
495 "name" : "setDisabled",
497 "desc" : "Convenience function for setting disabled/enabled by boolean.",
498 "sig" : "(disabled)",
500 "memberOf" : "Roo.Component",
502 "isConstructor" : false,
523 "desc" : "Try to focus this component.",
524 "sig" : "(selectText)",
526 "memberOf" : "Roo.Component",
528 "isConstructor" : false,
538 "name" : "selectText",
540 "desc" : "True to also select the text in this component (if applicable)",
547 "type" : "Roo.Component",
555 "desc" : "Enable this component.",
556 "sig" : "()\n{\n\n}",
558 "memberOf" : "Roo.Component",
560 "isConstructor" : false,
572 "type" : "Roo.Component",
578 "name" : "setVisible",
580 "desc" : "Convenience function to hide or show this component by boolean.",
583 "memberOf" : "Roo.Component",
585 "isConstructor" : false,
597 "desc" : "True to show, false to hide",
604 "type" : "Roo.Component",
612 "desc" : "Disable this component.",
613 "sig" : "()\n{\n\n}",
615 "memberOf" : "Roo.Component",
617 "isConstructor" : false,
629 "type" : "Roo.Component",
637 "desc" : "Returns the underlying {@link Roo.Element}.",
638 "sig" : "()\n{\n\n}",
640 "memberOf" : "Roo.Component",
642 "isConstructor" : false,
654 "type" : "Roo.Element",
655 "desc" : "The element"
660 "name" : "purgeListeners",
662 "desc" : "Removes all listeners for this object",
663 "sig" : "()\n{\n\n}",
665 "memberOf" : "Roo.util.Observable",
667 "isConstructor" : false,
681 "desc" : "Appends an event handler to this element (shorthand for addListener)",
682 "sig" : "(eventName, handler, scope, options)",
684 "memberOf" : "Roo.util.Observable",
686 "isConstructor" : false,
696 "name" : "eventName",
698 "desc" : "The type of event to listen for",
704 "desc" : "The method the event invokes",
710 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
716 "desc" : "(optional)",
725 "desc" : "Removes a listener (shorthand for removeListener)",
726 "sig" : "(eventName, handler, scope)",
728 "memberOf" : "Roo.util.Observable",
730 "isConstructor" : false,
740 "name" : "eventName",
742 "desc" : "The type of event to listen for",
748 "desc" : "The handler to remove",
754 "desc" : "(optional) The scope (this object) for the handler",
761 "name" : "addEvents",
763 "desc" : "Used to define events on this Observable",
766 "memberOf" : "Roo.util.Observable",
768 "isConstructor" : false,
780 "desc" : "The object with the events defined",
787 "name" : "releaseCapture",
789 "desc" : "Removes <b>all</b> added captures from the Observable.",
792 "memberOf" : "Roo.util.Observable",
794 "isConstructor" : false,
805 "type" : "Observable",
806 "desc" : "The Observable to release",
813 "name" : "removeListener",
815 "desc" : "Removes a listener",
816 "sig" : "(eventName, handler, scope)",
818 "memberOf" : "Roo.util.Observable",
820 "isConstructor" : false,
830 "name" : "eventName",
832 "desc" : "The type of event to listen for",
838 "desc" : "The handler to remove",
844 "desc" : "(optional) The scope (this object) for the handler",
851 "name" : "fireEvent",
853 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
854 "sig" : "(eventName, args)",
856 "memberOf" : "Roo.util.Observable",
858 "isConstructor" : false,
868 "name" : "eventName",
875 "type" : "Object...",
876 "desc" : "Variable number of parameters are passed to handlers",
884 "desc" : "returns false if any of the handlers return false otherwise it returns true"
889 "name" : "hasListener",
891 "desc" : "Checks to see if this object has any listeners for a specified event",
892 "sig" : "(eventName)",
894 "memberOf" : "Roo.util.Observable",
896 "isConstructor" : false,
906 "name" : "eventName",
908 "desc" : "The name of the event to check for",
916 "desc" : "True if the event is being listened for, else false"
923 "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
924 "sig" : "(o, fn, scope)",
926 "memberOf" : "Roo.util.Observable",
928 "isConstructor" : false,
939 "type" : "Observable",
940 "desc" : "The Observable to capture",
946 "desc" : "The function to call",
952 "desc" : "(optional) The scope (this object) for the fn",
959 "name" : "addListener",
961 "desc" : "Appends an event handler to this component",
962 "sig" : "(eventName, handler, scope, options)",
964 "memberOf" : "Roo.util.Observable",
966 "isConstructor" : false,
976 "name" : "eventName",
978 "desc" : "The type of event to listen for",
984 "desc" : "The method the event invokes",
990 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
996 "desc" : "(optional) An object containing handler configuration\nproperties. This may contain any of the following properties:<ul>\n<li>scope {Object} The scope in which to execute the handler function. The handler function's \"this\" context.</li>\n<li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li>\n<li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li>\n<li>buffer {Number} Causes the handler to be scheduled to run in an {@link Roo.util.DelayedTask} delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>\n</ul><br>\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)\n\t\t<pre><code>\n\t\tel.on('click', this.onClick, this, {\n \t\t\tsingle: true,\n \t\tdelay: 100,\n \t\tforumId: 4\n\t\t});\n\t\t</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n<pre><code>\n\t\tel.on({\n\t\t\t'click': {\n \t\tfn: this.onClick,\n \t\tscope: this,\n \t\tdelay: 100\n \t\t}, \n \t\t'mouseover': {\n \t\tfn: this.onMouseOver,\n \t\tscope: this\n \t\t},\n \t\t'mouseout': {\n \t\tfn: this.onMouseOut,\n \t\tscope: this\n \t\t}\n\t\t});\n\t\t</code></pre>\n<p>\nOr a shorthand syntax which passes the same scope object to all handlers:\n \t<pre><code>\n\t\tel.on({\n\t\t\t'click': this.onClick,\n \t\t'mouseover': this.onMouseOver,\n \t\t'mouseout': this.onMouseOut,\n \t\tscope: this\n\t\t});\n\t\t</code></pre>",
1005 "name" : "childrenrendered",
1006 "type" : "function",
1007 "desc" : "Fires when the children have been rendered..",
1008 "sig" : "function (_self)\n{\n\n}",
1009 "memberOf" : "Roo.bootstrap.Component",
1017 "type" : "Roo.bootstrap.Component",
1019 "isOptional" : false
1025 "name" : "beforerender",
1026 "type" : "function",
1027 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1028 "sig" : "function (_self)\n{\n\n}",
1029 "memberOf" : "Roo.Component",
1037 "type" : "Roo.Component",
1039 "isOptional" : false
1046 "type" : "function",
1047 "desc" : "Fires after the component is disabled.",
1048 "sig" : "function (_self)\n{\n\n}",
1049 "memberOf" : "Roo.Component",
1057 "type" : "Roo.Component",
1059 "isOptional" : false
1066 "type" : "function",
1067 "desc" : "Fires after the component is rendered.",
1068 "sig" : "function (_self)\n{\n\n}",
1069 "memberOf" : "Roo.Component",
1077 "type" : "Roo.Component",
1079 "isOptional" : false
1086 "type" : "function",
1087 "desc" : "Fires after the component is destroyed.",
1088 "sig" : "function (_self)\n{\n\n}",
1089 "memberOf" : "Roo.Component",
1097 "type" : "Roo.Component",
1099 "isOptional" : false
1106 "type" : "function",
1107 "desc" : "Fires after the component is hidden.",
1108 "sig" : "function (_self)\n{\n\n}",
1109 "memberOf" : "Roo.Component",
1117 "type" : "Roo.Component",
1119 "isOptional" : false
1125 "name" : "beforehide",
1126 "type" : "function",
1127 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1128 "sig" : "function (_self)\n{\n\n}",
1129 "memberOf" : "Roo.Component",
1137 "type" : "Roo.Component",
1139 "isOptional" : false
1146 "type" : "function",
1147 "desc" : "Fires after the component is shown.",
1148 "sig" : "function (_self)\n{\n\n}",
1149 "memberOf" : "Roo.Component",
1157 "type" : "Roo.Component",
1159 "isOptional" : false
1165 "name" : "beforeshow",
1166 "type" : "function",
1167 "desc" : "Fires before the component is shown. Return false to stop the show.",
1168 "sig" : "function (_self)\n{\n\n}",
1169 "memberOf" : "Roo.Component",
1177 "type" : "Roo.Component",
1179 "isOptional" : false
1186 "type" : "function",
1187 "desc" : "Fires after the component is enabled.",
1188 "sig" : "function (_self)\n{\n\n}",
1189 "memberOf" : "Roo.Component",
1197 "type" : "Roo.Component",
1199 "isOptional" : false
1205 "name" : "beforedestroy",
1206 "type" : "function",
1207 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1208 "sig" : "function (_self)\n{\n\n}",
1209 "memberOf" : "Roo.Component",
1217 "type" : "Roo.Component",
1219 "isOptional" : false