2 "name" : "Roo.bootstrap.Modal",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Modal class",
21 "desc" : "The config object",
31 "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>",
32 "memberOf" : "Roo.util.Observable",
39 "desc" : "set the max width of modal",
40 "memberOf" : "Roo.bootstrap.Modal",
47 "desc" : "Text for the tooltip",
48 "memberOf" : "Roo.bootstrap.Component",
53 "name" : "container_method",
55 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
56 "memberOf" : "Roo.bootstrap.Component",
61 "name" : "visibilityEl",
62 "type" : "string|object",
63 "desc" : "What element to use for visibility (@see getVisibilityEl())",
64 "memberOf" : "Roo.bootstrap.Component",
73 "desc" : "Array of buttons or standard button set..",
74 "memberOf" : "Roo.bootstrap.Modal",
79 "name" : "can_build_overlaid",
81 "desc" : "True if element can be rebuild from a HTML page",
82 "memberOf" : "Roo.bootstrap.Component",
89 "desc" : "How this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
90 "memberOf" : "Roo.Component",
99 "desc" : "Title of dialog",
100 "memberOf" : "Roo.bootstrap.Modal",
107 "desc" : "any extra css",
108 "memberOf" : "Roo.bootstrap.Component",
113 "name" : "allowDomMove",
115 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
116 "memberOf" : "Roo.Component",
122 "type" : "Roo.Template",
123 "desc" : "- a template with variables. to use it, add a handler in show:method adn",
124 "memberOf" : "Roo.bootstrap.Modal",
131 "desc" : "- the body of the dialog (for simple ones) - you can also use template..",
132 "memberOf" : "Roo.bootstrap.Modal",
137 "name" : "buttonPosition",
139 "desc" : "default right (DEPRICATED) - use mr-auto on buttons to put them on the left",
140 "memberOf" : "Roo.bootstrap.Modal",
150 "desc" : "css class",
151 "memberOf" : "Roo.bootstrap.Component",
156 "name" : "fitwindow",
158 "desc" : "default false",
159 "memberOf" : "Roo.bootstrap.Modal",
166 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
167 "memberOf" : "Roo.bootstrap.Component",
172 "name" : "actionMode",
174 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
175 "memberOf" : "Roo.Component",
180 "name" : "specificTitle",
182 "desc" : "default false",
183 "memberOf" : "Roo.bootstrap.Modal",
190 "desc" : "fixed width - usefull for chrome extension only really.",
191 "memberOf" : "Roo.bootstrap.Modal",
198 "desc" : "cutomer id",
199 "memberOf" : "Roo.bootstrap.Component",
204 "name" : "allow_close",
206 "desc" : "default true",
207 "memberOf" : "Roo.bootstrap.Modal",
214 "desc" : "fixed height - usefull for chrome extension only really.",
215 "memberOf" : "Roo.bootstrap.Modal",
222 "desc" : "default empty",
223 "memberOf" : "Roo.bootstrap.Modal",
232 "desc" : "Specifies name attribute",
233 "memberOf" : "Roo.bootstrap.Component",
238 "name" : "disableClass",
240 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
241 "memberOf" : "Roo.Component",
248 "desc" : "default true",
249 "memberOf" : "Roo.bootstrap.Modal",
256 "name" : "applyBody",
257 "desc" : "Set the body of the Dialog using the template",
259 "isConstructor" : false,
261 "memberOf" : "Roo.bootstrap.Modal",
270 "desc" : "- apply this data to the template and replace the body contents.",
279 "desc" : "Set the title of the Dialog",
281 "isConstructor" : false,
283 "memberOf" : "Roo.bootstrap.Modal",
292 "desc" : "new Title",
301 "desc" : "Set the body of the Dialog",
303 "isConstructor" : false,
305 "memberOf" : "Roo.bootstrap.Modal",
314 "desc" : "new Title",
322 "name" : "tooltipEl",
323 "desc" : "Fetch the element to display the tooltip on.",
325 "isConstructor" : false,
327 "memberOf" : "Roo.bootstrap.Component",
337 "type" : "Roo.Element",
338 "desc" : "defaults to this.el"
344 "desc" : "Hide a component - adds 'hidden' class",
346 "isConstructor" : false,
348 "memberOf" : "Roo.bootstrap.Component",
360 "desc" : "Show a component - removes 'hidden' class",
362 "isConstructor" : false,
364 "memberOf" : "Roo.bootstrap.Component",
375 "name" : "setVisibilityEl",
376 "desc" : "Set the element that will be used to show or hide",
378 "isConstructor" : false,
380 "memberOf" : "Roo.bootstrap.Component",
391 "name" : "getVisibilityEl",
392 "desc" : "Get the element that will be used to show or hide",
394 "isConstructor" : false,
396 "memberOf" : "Roo.bootstrap.Component",
407 "name" : "initEvents",
408 "desc" : "Initialize Events for the element",
410 "isConstructor" : false,
412 "memberOf" : "Roo.bootstrap.Component",
423 "name" : "getChildContainer",
424 "desc" : "Fetch the element to add children to",
426 "isConstructor" : false,
428 "memberOf" : "Roo.bootstrap.Component",
438 "type" : "Roo.Element",
439 "desc" : "defaults to this.el"
445 "desc" : "Returns the id of this component.",
447 "isConstructor" : false,
449 "memberOf" : "Roo.Component",
466 "desc" : "If this is a lazy rendering component, render it to its container element.",
468 "isConstructor" : false,
470 "memberOf" : "Roo.Component",
477 "name" : "container",
478 "type" : "String/HTMLElement/Element",
479 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
488 "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}.",
490 "isConstructor" : false,
492 "memberOf" : "Roo.Component",
503 "name" : "isVisible",
504 "desc" : "Returns true if this component is visible.",
506 "isConstructor" : false,
508 "memberOf" : "Roo.Component",
519 "name" : "setDisabled",
520 "desc" : "Convenience function for setting disabled/enabled by boolean.",
522 "isConstructor" : false,
524 "memberOf" : "Roo.Component",
542 "desc" : "Try to focus this component.",
544 "isConstructor" : false,
546 "memberOf" : "Roo.Component",
553 "name" : "selectText",
555 "desc" : "True to also select the text in this component (if applicable)",
562 "type" : "Roo.Component",
569 "desc" : "Enable this component.",
571 "isConstructor" : false,
573 "memberOf" : "Roo.Component",
583 "type" : "Roo.Component",
589 "name" : "setVisible",
590 "desc" : "Convenience function to hide or show this component by boolean.",
592 "isConstructor" : false,
594 "memberOf" : "Roo.Component",
603 "desc" : "True to show, false to hide",
610 "type" : "Roo.Component",
617 "desc" : "Disable this component.",
619 "isConstructor" : false,
621 "memberOf" : "Roo.Component",
631 "type" : "Roo.Component",
638 "desc" : "Returns the underlying {@link Roo.Element}.",
640 "isConstructor" : false,
642 "memberOf" : "Roo.Component",
652 "type" : "Roo.Element",
653 "desc" : "The element"
658 "name" : "purgeListeners",
659 "desc" : "Removes all listeners for this object",
661 "isConstructor" : false,
663 "memberOf" : "Roo.util.Observable",
675 "desc" : "Appends an event handler to this element (shorthand for addListener)",
677 "isConstructor" : false,
679 "memberOf" : "Roo.util.Observable",
686 "name" : "eventName",
688 "desc" : "The type of event to listen for",
694 "desc" : "The method the event invokes",
700 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
706 "desc" : "(optional)",
715 "desc" : "Removes a listener (shorthand for removeListener)",
717 "isConstructor" : false,
719 "memberOf" : "Roo.util.Observable",
726 "name" : "eventName",
728 "desc" : "The type of event to listen for",
734 "desc" : "The handler to remove",
740 "desc" : "(optional) The scope (this object) for the handler",
748 "name" : "addEvents",
749 "desc" : "Used to define events on this Observable",
751 "isConstructor" : false,
753 "memberOf" : "Roo.util.Observable",
762 "desc" : "The object with the events defined",
770 "name" : "releaseCapture",
771 "desc" : "Removes <b>all</b> added captures from the Observable.",
773 "isConstructor" : false,
775 "memberOf" : "Roo.util.Observable",
783 "type" : "Observable",
784 "desc" : "The Observable to release",
792 "name" : "removeListener",
793 "desc" : "Removes a listener",
795 "isConstructor" : false,
797 "memberOf" : "Roo.util.Observable",
804 "name" : "eventName",
806 "desc" : "The type of event to listen for",
812 "desc" : "The handler to remove",
818 "desc" : "(optional) The scope (this object) for the handler",
826 "name" : "fireEvent",
827 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
829 "isConstructor" : false,
831 "memberOf" : "Roo.util.Observable",
838 "name" : "eventName",
845 "type" : "Object...",
846 "desc" : "Variable number of parameters are passed to handlers",
854 "desc" : "returns false if any of the handlers return false otherwise it returns true"
859 "name" : "hasListener",
860 "desc" : "Checks to see if this object has any listeners for a specified event",
862 "isConstructor" : false,
864 "memberOf" : "Roo.util.Observable",
871 "name" : "eventName",
873 "desc" : "The name of the event to check for",
881 "desc" : "True if the event is being listened for, else false"
887 "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.",
889 "isConstructor" : false,
891 "memberOf" : "Roo.util.Observable",
899 "type" : "Observable",
900 "desc" : "The Observable to capture",
906 "desc" : "The function to call",
912 "desc" : "(optional) The scope (this object) for the fn",
920 "name" : "addListener",
921 "desc" : "Appends an event handler to this component",
923 "isConstructor" : false,
925 "memberOf" : "Roo.util.Observable",
932 "name" : "eventName",
934 "desc" : "The type of event to listen for",
940 "desc" : "The method the event invokes",
946 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
952 "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>",
963 "desc" : "The raw btnclick event for the button",
964 "memberOf" : "Roo.bootstrap.Modal",
972 "type" : "Roo.EventObject",
982 "desc" : "Fire when dialog resize",
983 "memberOf" : "Roo.bootstrap.Modal",
991 "type" : "Roo.bootstrap.Modal",
997 "type" : "Roo.EventObject",
1006 "name" : "childrenrendered",
1007 "desc" : "Fires when the children have been rendered..",
1008 "memberOf" : "Roo.bootstrap.Component",
1016 "type" : "Roo.bootstrap.Component",
1018 "isOptional" : false
1025 "name" : "beforerender",
1026 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1027 "memberOf" : "Roo.Component",
1035 "type" : "Roo.Component",
1037 "isOptional" : false
1045 "desc" : "Fires after the component is disabled.",
1046 "memberOf" : "Roo.Component",
1054 "type" : "Roo.Component",
1056 "isOptional" : false
1064 "desc" : "Fires after the component is rendered.",
1065 "memberOf" : "Roo.Component",
1073 "type" : "Roo.Component",
1075 "isOptional" : false
1083 "desc" : "Fires after the component is destroyed.",
1084 "memberOf" : "Roo.Component",
1092 "type" : "Roo.Component",
1094 "isOptional" : false
1102 "desc" : "Fires after the component is hidden.",
1103 "memberOf" : "Roo.Component",
1111 "type" : "Roo.Component",
1113 "isOptional" : false
1120 "name" : "beforehide",
1121 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1122 "memberOf" : "Roo.Component",
1130 "type" : "Roo.Component",
1132 "isOptional" : false
1140 "desc" : "Fires after the component is shown.",
1141 "memberOf" : "Roo.Component",
1149 "type" : "Roo.Component",
1151 "isOptional" : false
1158 "name" : "beforeshow",
1159 "desc" : "Fires before the component is shown. Return false to stop the show.",
1160 "memberOf" : "Roo.Component",
1168 "type" : "Roo.Component",
1170 "isOptional" : false
1178 "desc" : "Fires after the component is enabled.",
1179 "memberOf" : "Roo.Component",
1187 "type" : "Roo.Component",
1189 "isOptional" : false
1196 "name" : "beforedestroy",
1197 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1198 "memberOf" : "Roo.Component",
1206 "type" : "Roo.Component",
1208 "isOptional" : false