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",
45 "desc" : "Text for the tooltip",
46 "memberOf" : "Roo.bootstrap.Component",
51 "name" : "container_method",
53 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
54 "memberOf" : "Roo.bootstrap.Component",
59 "name" : "visibilityEl",
60 "type" : "string|object",
61 "desc" : "t) What element to use for visibility (@see getVisibilityEl(",
62 "memberOf" : "Roo.bootstrap.Component",
70 "name" : "can_build_overlaid",
72 "desc" : "True if element can be rebuild from a HTML page",
73 "memberOf" : "Roo.bootstrap.Component",
80 "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",
81 "memberOf" : "Roo.Component",
91 "desc" : "The title of alert",
99 "desc" : "default:-1 Number of seconds until it disapears (-1 means never.)",
101 "isOptional" : false,
107 "desc" : "true to show a x closer",
109 "isOptional" : false,
115 "desc" : "any extra css",
116 "memberOf" : "Roo.bootstrap.Component",
117 "isOptional" : false,
121 "name" : "allowDomMove",
123 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
124 "memberOf" : "Roo.Component",
125 "isOptional" : false,
131 "desc" : "The content of alert",
133 "isOptional" : false,
139 "desc" : "css class",
140 "memberOf" : "Roo.bootstrap.Component",
141 "isOptional" : false,
147 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
148 "memberOf" : "Roo.bootstrap.Component",
149 "isOptional" : false,
153 "name" : "actionMode",
155 "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",
156 "memberOf" : "Roo.Component",
157 "isOptional" : false,
163 "desc" : "cutomer id",
164 "memberOf" : "Roo.bootstrap.Component",
165 "isOptional" : false,
171 "desc" : "r) Weight of the messa",
173 "isOptional" : false,
184 "desc" : "font-awesomeicon",
186 "isOptional" : false,
192 "desc" : "Specifies name attribute",
193 "memberOf" : "Roo.bootstrap.Component",
194 "isOptional" : false,
198 "name" : "disableClass",
200 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
201 "memberOf" : "Roo.Component",
202 "isOptional" : false,
210 "desc" : "Set the Title Message HTML",
215 "isConstructor" : false,
236 "desc" : "Set the Body Message HTML",
241 "isConstructor" : false,
260 "name" : "setWeight",
262 "desc" : "Set the Weight of the alert",
263 "sig" : "((success|info|warning|danger))",
267 "isConstructor" : false,
277 "name" : "(success|info|warning|danger)",
288 "desc" : "Set the Icon of the alert",
293 "isConstructor" : false,
305 "desc" : "fontawsome names (name without the 'fa-' bit)",
314 "desc" : "Hide the Alert",
315 "sig" : "()\n{\n\n}",
319 "isConstructor" : false,
333 "desc" : "Show the Alert",
334 "sig" : "()\n{\n\n}",
338 "isConstructor" : false,
350 "name" : "tooltipEl",
352 "desc" : "Fetch the element to display the tooltip on.",
353 "sig" : "()\n{\n\n}",
355 "memberOf" : "Roo.bootstrap.Component",
357 "isConstructor" : false,
369 "type" : "Roo.Element",
370 "desc" : "defaults to this.el"
375 "name" : "setVisibilityEl",
377 "desc" : "Set the element that will be used to show or hide",
378 "sig" : "()\n{\n\n}",
380 "memberOf" : "Roo.bootstrap.Component",
382 "isConstructor" : false,
394 "name" : "getVisibilityEl",
396 "desc" : "Get the element that will be used to show or hide",
397 "sig" : "()\n{\n\n}",
399 "memberOf" : "Roo.bootstrap.Component",
401 "isConstructor" : false,
413 "name" : "initEvents",
415 "desc" : "Initialize Events for the element",
416 "sig" : "()\n{\n\n}",
418 "memberOf" : "Roo.bootstrap.Component",
420 "isConstructor" : false,
432 "name" : "getChildContainer",
434 "desc" : "Fetch the element to add children to",
435 "sig" : "()\n{\n\n}",
437 "memberOf" : "Roo.bootstrap.Component",
439 "isConstructor" : false,
451 "type" : "Roo.Element",
452 "desc" : "defaults to this.el"
459 "desc" : "Returns the id of this component.",
460 "sig" : "()\n{\n\n}",
462 "memberOf" : "Roo.Component",
464 "isConstructor" : false,
484 "desc" : "If this is a lazy rendering component, render it to its container element.",
485 "sig" : "(container)",
487 "memberOf" : "Roo.Component",
489 "isConstructor" : false,
499 "name" : "container",
500 "type" : "String/HTMLElement/Element",
501 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
510 "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}.",
511 "sig" : "()\n{\n\n}",
513 "memberOf" : "Roo.Component",
515 "isConstructor" : false,
527 "name" : "isVisible",
529 "desc" : "Returns true if this component is visible.",
530 "sig" : "()\n{\n\n}",
532 "memberOf" : "Roo.Component",
534 "isConstructor" : false,
546 "name" : "setDisabled",
548 "desc" : "Convenience function for setting disabled/enabled by boolean.",
549 "sig" : "(disabled)",
551 "memberOf" : "Roo.Component",
553 "isConstructor" : false,
574 "desc" : "Try to focus this component.",
575 "sig" : "(selectText)",
577 "memberOf" : "Roo.Component",
579 "isConstructor" : false,
589 "name" : "selectText",
591 "desc" : "True to also select the text in this component (if applicable)",
598 "type" : "Roo.Component",
606 "desc" : "Enable this component.",
607 "sig" : "()\n{\n\n}",
609 "memberOf" : "Roo.Component",
611 "isConstructor" : false,
623 "type" : "Roo.Component",
629 "name" : "setVisible",
631 "desc" : "Convenience function to hide or show this component by boolean.",
634 "memberOf" : "Roo.Component",
636 "isConstructor" : false,
648 "desc" : "True to show, false to hide",
655 "type" : "Roo.Component",
663 "desc" : "Disable this component.",
664 "sig" : "()\n{\n\n}",
666 "memberOf" : "Roo.Component",
668 "isConstructor" : false,
680 "type" : "Roo.Component",
688 "desc" : "Returns the underlying {@link Roo.Element}.",
689 "sig" : "()\n{\n\n}",
691 "memberOf" : "Roo.Component",
693 "isConstructor" : false,
705 "type" : "Roo.Element",
706 "desc" : "The element"
711 "name" : "purgeListeners",
713 "desc" : "Removes all listeners for this object",
714 "sig" : "()\n{\n\n}",
716 "memberOf" : "Roo.util.Observable",
718 "isConstructor" : false,
732 "desc" : "Appends an event handler to this element (shorthand for addListener)",
733 "sig" : "(eventName, handler, scope, options)",
735 "memberOf" : "Roo.util.Observable",
737 "isConstructor" : false,
747 "name" : "eventName",
749 "desc" : "The type of event to listen for",
755 "desc" : "The method the event invokes",
761 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
767 "desc" : "(optional)",
776 "desc" : "Removes a listener (shorthand for removeListener)",
777 "sig" : "(eventName, handler, scope)",
779 "memberOf" : "Roo.util.Observable",
781 "isConstructor" : false,
791 "name" : "eventName",
793 "desc" : "The type of event to listen for",
799 "desc" : "The handler to remove",
805 "desc" : "(optional) The scope (this object) for the handler",
812 "name" : "addEvents",
814 "desc" : "Used to define events on this Observable",
817 "memberOf" : "Roo.util.Observable",
819 "isConstructor" : false,
831 "desc" : "The object with the events defined",
838 "name" : "releaseCapture",
840 "desc" : "Removes <b>all</b> added captures from the Observable.",
843 "memberOf" : "Roo.util.Observable",
845 "isConstructor" : false,
856 "type" : "Observable",
857 "desc" : "The Observable to release",
864 "name" : "removeListener",
866 "desc" : "Removes a listener",
867 "sig" : "(eventName, handler, scope)",
869 "memberOf" : "Roo.util.Observable",
871 "isConstructor" : false,
881 "name" : "eventName",
883 "desc" : "The type of event to listen for",
889 "desc" : "The handler to remove",
895 "desc" : "(optional) The scope (this object) for the handler",
902 "name" : "fireEvent",
904 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
905 "sig" : "(eventName, args)",
907 "memberOf" : "Roo.util.Observable",
909 "isConstructor" : false,
919 "name" : "eventName",
926 "type" : "Object...",
927 "desc" : "Variable number of parameters are passed to handlers",
935 "desc" : "returns false if any of the handlers return false otherwise it returns true"
940 "name" : "hasListener",
942 "desc" : "Checks to see if this object has any listeners for a specified event",
943 "sig" : "(eventName)",
945 "memberOf" : "Roo.util.Observable",
947 "isConstructor" : false,
957 "name" : "eventName",
959 "desc" : "The name of the event to check for",
967 "desc" : "True if the event is being listened for, else false"
974 "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.",
975 "sig" : "(o, fn, scope)",
977 "memberOf" : "Roo.util.Observable",
979 "isConstructor" : false,
990 "type" : "Observable",
991 "desc" : "The Observable to capture",
997 "desc" : "The function to call",
1003 "desc" : "(optional) The scope (this object) for the fn",
1004 "isOptional" : false
1010 "name" : "addListener",
1011 "type" : "function",
1012 "desc" : "Appends an event handler to this component",
1013 "sig" : "(eventName, handler, scope, options)",
1015 "memberOf" : "Roo.util.Observable",
1017 "isConstructor" : false,
1018 "isPrivate" : false,
1027 "name" : "eventName",
1029 "desc" : "The type of event to listen for",
1030 "isOptional" : false
1034 "type" : "Function",
1035 "desc" : "The method the event invokes",
1036 "isOptional" : false
1041 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1042 "isOptional" : false
1047 "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>",
1048 "isOptional" : false
1056 "name" : "childrenrendered",
1057 "type" : "function",
1058 "desc" : "Fires when the children have been rendered..",
1059 "sig" : "function (_self)\n{\n\n}",
1060 "memberOf" : "Roo.bootstrap.Component",
1068 "type" : "Roo.bootstrap.Component",
1070 "isOptional" : false
1076 "name" : "beforerender",
1077 "type" : "function",
1078 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1079 "sig" : "function (_self)\n{\n\n}",
1080 "memberOf" : "Roo.Component",
1088 "type" : "Roo.Component",
1090 "isOptional" : false
1097 "type" : "function",
1098 "desc" : "Fires after the component is disabled.",
1099 "sig" : "function (_self)\n{\n\n}",
1100 "memberOf" : "Roo.Component",
1108 "type" : "Roo.Component",
1110 "isOptional" : false
1117 "type" : "function",
1118 "desc" : "Fires after the component is rendered.",
1119 "sig" : "function (_self)\n{\n\n}",
1120 "memberOf" : "Roo.Component",
1128 "type" : "Roo.Component",
1130 "isOptional" : false
1137 "type" : "function",
1138 "desc" : "Fires after the component is destroyed.",
1139 "sig" : "function (_self)\n{\n\n}",
1140 "memberOf" : "Roo.Component",
1148 "type" : "Roo.Component",
1150 "isOptional" : false
1157 "type" : "function",
1158 "desc" : "Fires after the component is hidden.",
1159 "sig" : "function (_self)\n{\n\n}",
1160 "memberOf" : "Roo.Component",
1168 "type" : "Roo.Component",
1170 "isOptional" : false
1176 "name" : "beforehide",
1177 "type" : "function",
1178 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1179 "sig" : "function (_self)\n{\n\n}",
1180 "memberOf" : "Roo.Component",
1188 "type" : "Roo.Component",
1190 "isOptional" : false
1197 "type" : "function",
1198 "desc" : "Fires after the component is shown.",
1199 "sig" : "function (_self)\n{\n\n}",
1200 "memberOf" : "Roo.Component",
1208 "type" : "Roo.Component",
1210 "isOptional" : false
1216 "name" : "beforeshow",
1217 "type" : "function",
1218 "desc" : "Fires before the component is shown. Return false to stop the show.",
1219 "sig" : "function (_self)\n{\n\n}",
1220 "memberOf" : "Roo.Component",
1228 "type" : "Roo.Component",
1230 "isOptional" : false
1237 "type" : "function",
1238 "desc" : "Fires after the component is enabled.",
1239 "sig" : "function (_self)\n{\n\n}",
1240 "memberOf" : "Roo.Component",
1248 "type" : "Roo.Component",
1250 "isOptional" : false
1256 "name" : "beforedestroy",
1257 "type" : "function",
1258 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1259 "sig" : "function (_self)\n{\n\n}",
1260 "memberOf" : "Roo.Component",
1268 "type" : "Roo.Component",
1270 "isOptional" : false