2 "name" : "Roo.bootstrap.CardUploader",
4 "Roo.bootstrap.Button",
5 "Roo.bootstrap.Component",
9 "desc" : "Bootstrap Card Uploader class - it's a button which when you add files to it, adds cards below with preview and the name...",
10 "isSingleton" : false,
13 "memberOf" : "CardUploader",
22 "desc" : "The config object",
31 "desc" : "is it a slidy toggle button",
32 "memberOf" : "Roo.bootstrap.Button",
38 "desc" : "dark themed version",
39 "memberOf" : "Roo.bootstrap.Button",
45 "desc" : "text for badge",
46 "memberOf" : "Roo.bootstrap.Button",
52 "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\".",
53 "memberOf" : "Roo.Component",
62 "desc" : "an array of ?? Img objects ??? when loading existing files..",
63 "memberOf" : "Roo.bootstrap.CardUploader",
69 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
70 "memberOf" : "Roo.bootstrap.Component",
76 "desc" : "default false;",
77 "memberOf" : "Roo.bootstrap.Button",
83 "desc" : "Specifies name attribute",
84 "memberOf" : "Roo.bootstrap.Component",
90 "desc" : "k) default",
91 "memberOf" : "Roo.bootstrap.Button",
108 "desc" : "if parent is a btn group - then it turns it into a toogleGroup.",
109 "memberOf" : "Roo.bootstrap.Button",
115 "desc" : "Text for the tooltip",
116 "memberOf" : "Roo.bootstrap.Component",
122 "desc" : "text for on slidy toggle state",
123 "memberOf" : "Roo.bootstrap.Button",
127 "name" : "preventDefault",
129 "desc" : "default true (stop click event triggering the URL if it's a link.)",
130 "memberOf" : "Roo.bootstrap.Button",
137 "memberOf" : "Roo.bootstrap.Button",
146 "desc" : "r) target for a href.",
147 "memberOf" : "Roo.bootstrap.Button",
157 "name" : "glyphicon",
159 "desc" : "depricated - use fa",
160 "memberOf" : "Roo.bootstrap.Button",
164 "name" : "allowDomMove",
166 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
167 "memberOf" : "Roo.Component",
173 "desc" : "any extra css",
174 "memberOf" : "Roo.bootstrap.Component",
180 "desc" : "default false;",
181 "memberOf" : "Roo.bootstrap.Button",
185 "name" : "errorTimeout",
187 "desc" : "default 3000",
188 "memberOf" : "Roo.bootstrap.CardUploader",
192 "name" : "actionMode",
194 "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",
195 "memberOf" : "Roo.Component",
199 "name" : "listeners",
201 "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>",
202 "memberOf" : "Roo.util.Observable",
206 "name" : "container_method",
208 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
209 "memberOf" : "Roo.bootstrap.Component",
215 "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
216 "memberOf" : "Roo.bootstrap.Button",
223 "memberOf" : "Roo.bootstrap.Button",
233 "desc" : "css class",
234 "memberOf" : "Roo.bootstrap.Component",
238 "name" : "badge_weight",
240 "desc" : "k) default (same as button)",
241 "memberOf" : "Roo.bootstrap.Button",
256 "name" : "can_build_overlaid",
258 "desc" : "True if element can be rebuild from a HTML page",
259 "memberOf" : "Roo.bootstrap.Component",
263 "name" : "disableClass",
265 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
266 "memberOf" : "Roo.Component",
270 "name" : "visibilityEl",
271 "type" : "string|object",
272 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
273 "memberOf" : "Roo.bootstrap.Component",
282 "desc" : "empty or href",
283 "memberOf" : "Roo.bootstrap.Button",
290 "memberOf" : "Roo.bootstrap.Button",
300 "desc" : "cutomer id",
301 "memberOf" : "Roo.bootstrap.Component",
307 "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
308 "memberOf" : "Roo.bootstrap.Button",
314 "desc" : "text for off slidy toggle state",
315 "memberOf" : "Roo.bootstrap.Button",
319 "name" : "removeClass",
321 "desc" : "remove the standard class..",
322 "memberOf" : "Roo.bootstrap.Button",
328 "desc" : "The button text.",
329 "memberOf" : "Roo.bootstrap.CardUploader",
335 "desc" : "default null - if the button ahs active state",
336 "memberOf" : "Roo.bootstrap.Button",
343 "desc" : "set the text of the first selected button",
345 "isConstructor" : false,
347 "memberOf" : "Roo.bootstrap.Button",
357 "desc" : "get the current active state",
359 "isConstructor" : false,
361 "memberOf" : "Roo.bootstrap.Button",
371 "desc" : "true if it's active"
376 "name" : "setActive",
377 "desc" : "sets the active state on/off,",
379 "isConstructor" : false,
381 "memberOf" : "Roo.bootstrap.Button",
390 "desc" : "(optional) Force a particular state",
397 "name" : "toggleActive",
398 "desc" : "toggles the current active state",
400 "isConstructor" : false,
402 "memberOf" : "Roo.bootstrap.Button",
412 "desc" : "get the text of the first selected button",
414 "isConstructor" : false,
416 "memberOf" : "Roo.bootstrap.Button",
426 "desc" : "Enables this button",
428 "isConstructor" : false,
430 "memberOf" : "Roo.bootstrap.Button",
440 "desc" : "Disable this button",
442 "isConstructor" : false,
444 "memberOf" : "Roo.bootstrap.Button",
453 "name" : "tooltipEl",
454 "desc" : "Fetch the element to display the tooltip on.",
456 "isConstructor" : false,
458 "memberOf" : "Roo.bootstrap.Component",
467 "type" : "Roo.Element",
468 "desc" : "defaults to this.el"
474 "desc" : "Hide a component - adds 'hidden' class",
476 "isConstructor" : false,
478 "memberOf" : "Roo.bootstrap.Component",
488 "desc" : "Show a component - removes 'hidden' class",
490 "isConstructor" : false,
492 "memberOf" : "Roo.bootstrap.Component",
501 "name" : "setVisibilityEl",
502 "desc" : "Set the element that will be used to show or hide",
504 "isConstructor" : false,
506 "memberOf" : "Roo.bootstrap.Component",
515 "name" : "getVisibilityEl",
516 "desc" : "Get the element that will be used to show or hide",
518 "isConstructor" : false,
520 "memberOf" : "Roo.bootstrap.Component",
529 "name" : "initEvents",
530 "desc" : "Initialize Events for the element",
532 "isConstructor" : false,
534 "memberOf" : "Roo.bootstrap.Component",
543 "name" : "getChildContainer",
544 "desc" : "Fetch the element to add children to",
546 "isConstructor" : false,
548 "memberOf" : "Roo.bootstrap.Component",
557 "type" : "Roo.Element",
558 "desc" : "defaults to this.el"
564 "desc" : "Returns the id of this component.",
566 "isConstructor" : false,
568 "memberOf" : "Roo.Component",
584 "desc" : "If this is a lazy rendering component, render it to its container element.",
586 "isConstructor" : false,
588 "memberOf" : "Roo.Component",
595 "name" : "container",
596 "type" : "String/HTMLElement/Element",
597 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
605 "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}.",
607 "isConstructor" : false,
609 "memberOf" : "Roo.Component",
618 "name" : "isVisible",
619 "desc" : "Returns true if this component is visible.",
621 "isConstructor" : false,
623 "memberOf" : "Roo.Component",
632 "name" : "setDisabled",
633 "desc" : "Convenience function for setting disabled/enabled by boolean.",
635 "isConstructor" : false,
637 "memberOf" : "Roo.Component",
654 "desc" : "Try to focus this component.",
656 "isConstructor" : false,
658 "memberOf" : "Roo.Component",
665 "name" : "selectText",
667 "desc" : "True to also select the text in this component (if applicable)",
674 "type" : "Roo.Component",
680 "name" : "setVisible",
681 "desc" : "Convenience function to hide or show this component by boolean.",
683 "isConstructor" : false,
685 "memberOf" : "Roo.Component",
694 "desc" : "True to show, false to hide",
701 "type" : "Roo.Component",
708 "desc" : "Returns the underlying {@link Roo.Element}.",
710 "isConstructor" : false,
712 "memberOf" : "Roo.Component",
721 "type" : "Roo.Element",
722 "desc" : "The element"
727 "name" : "purgeListeners",
728 "desc" : "Removes all listeners for this object",
730 "isConstructor" : false,
732 "memberOf" : "Roo.util.Observable",
742 "desc" : "Appends an event handler to this element (shorthand for addListener)",
744 "isConstructor" : false,
746 "memberOf" : "Roo.util.Observable",
753 "name" : "eventName",
755 "desc" : "The type of event to listen for",
761 "desc" : "The method the event invokes",
767 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
773 "desc" : "(optional)",
781 "desc" : "Removes a listener (shorthand for removeListener)",
783 "isConstructor" : false,
785 "memberOf" : "Roo.util.Observable",
792 "name" : "eventName",
794 "desc" : "The type of event to listen for",
800 "desc" : "The handler to remove",
806 "desc" : "(optional) The scope (this object) for the handler",
813 "name" : "addEvents",
814 "desc" : "Used to define events on this Observable",
816 "isConstructor" : false,
818 "memberOf" : "Roo.util.Observable",
827 "desc" : "The object with the events defined",
834 "name" : "releaseCapture",
835 "desc" : "Removes <b>all</b> added captures from the Observable.",
837 "isConstructor" : false,
839 "memberOf" : "Roo.util.Observable",
847 "type" : "Observable",
848 "desc" : "The Observable to release",
855 "name" : "removeListener",
856 "desc" : "Removes a listener",
858 "isConstructor" : false,
860 "memberOf" : "Roo.util.Observable",
867 "name" : "eventName",
869 "desc" : "The type of event to listen for",
875 "desc" : "The handler to remove",
881 "desc" : "(optional) The scope (this object) for the handler",
888 "name" : "fireEvent",
889 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
891 "isConstructor" : false,
893 "memberOf" : "Roo.util.Observable",
900 "name" : "eventName",
907 "type" : "Object...",
908 "desc" : "Variable number of parameters are passed to handlers",
916 "desc" : "returns false if any of the handlers return false otherwise it returns true"
921 "name" : "hasListener",
922 "desc" : "Checks to see if this object has any listeners for a specified event",
924 "isConstructor" : false,
926 "memberOf" : "Roo.util.Observable",
933 "name" : "eventName",
935 "desc" : "The name of the event to check for",
943 "desc" : "True if the event is being listened for, else false"
949 "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.",
951 "isConstructor" : false,
953 "memberOf" : "Roo.util.Observable",
961 "type" : "Observable",
962 "desc" : "The Observable to capture",
968 "desc" : "The function to call",
974 "desc" : "(optional) The scope (this object) for the fn",
981 "name" : "addListener",
982 "desc" : "Appends an event handler to this component",
984 "isConstructor" : false,
986 "memberOf" : "Roo.util.Observable",
993 "name" : "eventName",
995 "desc" : "The type of event to listen for",
1000 "type" : "Function",
1001 "desc" : "The method the event invokes",
1002 "isOptional" : false
1007 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1008 "isOptional" : false
1013 "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>",
1014 "isOptional" : false
1023 "desc" : "After the button has been toggles",
1024 "memberOf" : "Roo.bootstrap.Button",
1032 "type" : "Roo.bootstrap.Button",
1034 "isOptional" : false
1038 "type" : "Roo.EventObject",
1040 "isOptional" : false
1045 "desc" : "(also available as button.pressed)",
1046 "isOptional" : false
1052 "name" : "dblclick",
1053 "desc" : "When a button is double clicked",
1054 "memberOf" : "Roo.bootstrap.Button",
1062 "type" : "Roo.bootstrap.Button",
1064 "isOptional" : false
1068 "type" : "Roo.EventObject",
1070 "isOptional" : false
1077 "desc" : "When a button is pressed",
1078 "memberOf" : "Roo.bootstrap.Button",
1086 "type" : "Roo.bootstrap.Button",
1088 "isOptional" : false
1092 "type" : "Roo.EventObject",
1094 "isOptional" : false
1100 "name" : "childrenrendered",
1101 "desc" : "Fires when the children have been rendered..",
1102 "memberOf" : "Roo.bootstrap.Component",
1110 "type" : "Roo.bootstrap.Component",
1112 "isOptional" : false
1118 "name" : "beforerender",
1119 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1120 "memberOf" : "Roo.Component",
1128 "type" : "Roo.Component",
1130 "isOptional" : false
1137 "desc" : "Fires after the component is disabled.",
1138 "memberOf" : "Roo.Component",
1146 "type" : "Roo.Component",
1148 "isOptional" : false
1155 "desc" : "Fires after the component is rendered.",
1156 "memberOf" : "Roo.Component",
1164 "type" : "Roo.Component",
1166 "isOptional" : false
1173 "desc" : "Fires after the component is destroyed.",
1174 "memberOf" : "Roo.Component",
1182 "type" : "Roo.Component",
1184 "isOptional" : false
1191 "desc" : "Fires after the component is hidden.",
1192 "memberOf" : "Roo.Component",
1200 "type" : "Roo.Component",
1202 "isOptional" : false
1208 "name" : "beforehide",
1209 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1210 "memberOf" : "Roo.Component",
1218 "type" : "Roo.Component",
1220 "isOptional" : false
1227 "desc" : "Fires after the component is shown.",
1228 "memberOf" : "Roo.Component",
1236 "type" : "Roo.Component",
1238 "isOptional" : false
1244 "name" : "beforeshow",
1245 "desc" : "Fires before the component is shown. Return false to stop the show.",
1246 "memberOf" : "Roo.Component",
1254 "type" : "Roo.Component",
1256 "isOptional" : false
1263 "desc" : "Fires after the component is enabled.",
1264 "memberOf" : "Roo.Component",
1272 "type" : "Roo.Component",
1274 "isOptional" : false
1280 "name" : "beforedestroy",
1281 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1282 "memberOf" : "Roo.Component",
1290 "type" : "Roo.Component",
1292 "isOptional" : false