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" : "addCard - add an Attachment to the uploader",
345 "isConstructor" : false,
347 "memberOf" : "Roo.bootstrap.CardUploader",
356 "desc" : "- the data about the image to upload\n\n{\n id : 123\n title : \"Title of file\",\n is_uploaded : false,\n src : \"http://.....\",\n srcfile : { the File upload object },\n mimetype : file.type,\n preview : false,\n is_deleted : 0\n .. any other data...\n }",
364 "desc" : "set the text of the first selected button",
366 "isConstructor" : false,
368 "memberOf" : "Roo.bootstrap.Button",
378 "desc" : "get the current active state",
380 "isConstructor" : false,
382 "memberOf" : "Roo.bootstrap.Button",
392 "desc" : "true if it's active"
397 "name" : "setActive",
398 "desc" : "sets the active state on/off,",
400 "isConstructor" : false,
402 "memberOf" : "Roo.bootstrap.Button",
411 "desc" : "(optional) Force a particular state",
418 "name" : "toggleActive",
419 "desc" : "toggles the current active state",
421 "isConstructor" : false,
423 "memberOf" : "Roo.bootstrap.Button",
433 "desc" : "get the text of the first selected button",
435 "isConstructor" : false,
437 "memberOf" : "Roo.bootstrap.Button",
447 "desc" : "Enables this button",
449 "isConstructor" : false,
451 "memberOf" : "Roo.bootstrap.Button",
461 "desc" : "Disable this button",
463 "isConstructor" : false,
465 "memberOf" : "Roo.bootstrap.Button",
474 "name" : "tooltipEl",
475 "desc" : "Fetch the element to display the tooltip on.",
477 "isConstructor" : false,
479 "memberOf" : "Roo.bootstrap.Component",
488 "type" : "Roo.Element",
489 "desc" : "defaults to this.el"
495 "desc" : "Hide a component - adds 'hidden' class",
497 "isConstructor" : false,
499 "memberOf" : "Roo.bootstrap.Component",
509 "desc" : "Show a component - removes 'hidden' class",
511 "isConstructor" : false,
513 "memberOf" : "Roo.bootstrap.Component",
522 "name" : "setVisibilityEl",
523 "desc" : "Set the element that will be used to show or hide",
525 "isConstructor" : false,
527 "memberOf" : "Roo.bootstrap.Component",
536 "name" : "getVisibilityEl",
537 "desc" : "Get the element that will be used to show or hide",
539 "isConstructor" : false,
541 "memberOf" : "Roo.bootstrap.Component",
550 "name" : "initEvents",
551 "desc" : "Initialize Events for the element",
553 "isConstructor" : false,
555 "memberOf" : "Roo.bootstrap.Component",
564 "name" : "getChildContainer",
565 "desc" : "Fetch the element to add children to",
567 "isConstructor" : false,
569 "memberOf" : "Roo.bootstrap.Component",
578 "type" : "Roo.Element",
579 "desc" : "defaults to this.el"
585 "desc" : "Returns the id of this component.",
587 "isConstructor" : false,
589 "memberOf" : "Roo.Component",
605 "desc" : "If this is a lazy rendering component, render it to its container element.",
607 "isConstructor" : false,
609 "memberOf" : "Roo.Component",
616 "name" : "container",
617 "type" : "String/HTMLElement/Element",
618 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
626 "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}.",
628 "isConstructor" : false,
630 "memberOf" : "Roo.Component",
639 "name" : "isVisible",
640 "desc" : "Returns true if this component is visible.",
642 "isConstructor" : false,
644 "memberOf" : "Roo.Component",
653 "name" : "setDisabled",
654 "desc" : "Convenience function for setting disabled/enabled by boolean.",
656 "isConstructor" : false,
658 "memberOf" : "Roo.Component",
675 "desc" : "Try to focus this component.",
677 "isConstructor" : false,
679 "memberOf" : "Roo.Component",
686 "name" : "selectText",
688 "desc" : "True to also select the text in this component (if applicable)",
695 "type" : "Roo.Component",
701 "name" : "setVisible",
702 "desc" : "Convenience function to hide or show this component by boolean.",
704 "isConstructor" : false,
706 "memberOf" : "Roo.Component",
715 "desc" : "True to show, false to hide",
722 "type" : "Roo.Component",
729 "desc" : "Returns the underlying {@link Roo.Element}.",
731 "isConstructor" : false,
733 "memberOf" : "Roo.Component",
742 "type" : "Roo.Element",
743 "desc" : "The element"
748 "name" : "purgeListeners",
749 "desc" : "Removes all listeners for this object",
751 "isConstructor" : false,
753 "memberOf" : "Roo.util.Observable",
763 "desc" : "Appends an event handler to this element (shorthand for addListener)",
765 "isConstructor" : false,
767 "memberOf" : "Roo.util.Observable",
774 "name" : "eventName",
776 "desc" : "The type of event to listen for",
782 "desc" : "The method the event invokes",
788 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
794 "desc" : "(optional)",
802 "desc" : "Removes a listener (shorthand for removeListener)",
804 "isConstructor" : false,
806 "memberOf" : "Roo.util.Observable",
813 "name" : "eventName",
815 "desc" : "The type of event to listen for",
821 "desc" : "The handler to remove",
827 "desc" : "(optional) The scope (this object) for the handler",
834 "name" : "addEvents",
835 "desc" : "Used to define events on this Observable",
837 "isConstructor" : false,
839 "memberOf" : "Roo.util.Observable",
848 "desc" : "The object with the events defined",
855 "name" : "releaseCapture",
856 "desc" : "Removes <b>all</b> added captures from the Observable.",
858 "isConstructor" : false,
860 "memberOf" : "Roo.util.Observable",
868 "type" : "Observable",
869 "desc" : "The Observable to release",
876 "name" : "removeListener",
877 "desc" : "Removes a listener",
879 "isConstructor" : false,
881 "memberOf" : "Roo.util.Observable",
888 "name" : "eventName",
890 "desc" : "The type of event to listen for",
896 "desc" : "The handler to remove",
902 "desc" : "(optional) The scope (this object) for the handler",
909 "name" : "fireEvent",
910 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
912 "isConstructor" : false,
914 "memberOf" : "Roo.util.Observable",
921 "name" : "eventName",
928 "type" : "Object...",
929 "desc" : "Variable number of parameters are passed to handlers",
937 "desc" : "returns false if any of the handlers return false otherwise it returns true"
942 "name" : "hasListener",
943 "desc" : "Checks to see if this object has any listeners for a specified event",
945 "isConstructor" : false,
947 "memberOf" : "Roo.util.Observable",
954 "name" : "eventName",
956 "desc" : "The name of the event to check for",
964 "desc" : "True if the event is being listened for, else false"
970 "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.",
972 "isConstructor" : false,
974 "memberOf" : "Roo.util.Observable",
982 "type" : "Observable",
983 "desc" : "The Observable to capture",
989 "desc" : "The function to call",
995 "desc" : "(optional) The scope (this object) for the fn",
1002 "name" : "addListener",
1003 "desc" : "Appends an event handler to this component",
1005 "isConstructor" : false,
1006 "isPrivate" : false,
1007 "memberOf" : "Roo.util.Observable",
1014 "name" : "eventName",
1016 "desc" : "The type of event to listen for",
1017 "isOptional" : false
1021 "type" : "Function",
1022 "desc" : "The method the event invokes",
1023 "isOptional" : false
1028 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1029 "isOptional" : false
1034 "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>",
1035 "isOptional" : false
1043 "name" : "download",
1044 "desc" : "When a the download link is clicked",
1045 "memberOf" : "Roo.bootstrap.CardUploader",
1053 "type" : "Roo.bootstrap.Card",
1055 "isOptional" : false
1060 "desc" : "image information data contains",
1061 "isOptional" : false
1068 "desc" : "When a image is clicked on - and needs to display a slideshow or similar..",
1069 "memberOf" : "Roo.bootstrap.CardUploader",
1077 "type" : "Roo.bootstrap.Card",
1079 "isOptional" : false
1084 "desc" : "image information data",
1085 "isOptional" : false
1092 "desc" : "After the button has been toggles",
1093 "memberOf" : "Roo.bootstrap.Button",
1101 "type" : "Roo.bootstrap.Button",
1103 "isOptional" : false
1107 "type" : "Roo.EventObject",
1109 "isOptional" : false
1114 "desc" : "(also available as button.pressed)",
1115 "isOptional" : false
1121 "name" : "dblclick",
1122 "desc" : "When a button is double clicked",
1123 "memberOf" : "Roo.bootstrap.Button",
1131 "type" : "Roo.bootstrap.Button",
1133 "isOptional" : false
1137 "type" : "Roo.EventObject",
1139 "isOptional" : false
1146 "desc" : "When a button is pressed",
1147 "memberOf" : "Roo.bootstrap.Button",
1155 "type" : "Roo.bootstrap.Button",
1157 "isOptional" : false
1161 "type" : "Roo.EventObject",
1163 "isOptional" : false
1169 "name" : "childrenrendered",
1170 "desc" : "Fires when the children have been rendered..",
1171 "memberOf" : "Roo.bootstrap.Component",
1179 "type" : "Roo.bootstrap.Component",
1181 "isOptional" : false
1187 "name" : "beforerender",
1188 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1189 "memberOf" : "Roo.Component",
1197 "type" : "Roo.Component",
1199 "isOptional" : false
1206 "desc" : "Fires after the component is disabled.",
1207 "memberOf" : "Roo.Component",
1215 "type" : "Roo.Component",
1217 "isOptional" : false
1224 "desc" : "Fires after the component is rendered.",
1225 "memberOf" : "Roo.Component",
1233 "type" : "Roo.Component",
1235 "isOptional" : false
1242 "desc" : "Fires after the component is destroyed.",
1243 "memberOf" : "Roo.Component",
1251 "type" : "Roo.Component",
1253 "isOptional" : false
1260 "desc" : "Fires after the component is hidden.",
1261 "memberOf" : "Roo.Component",
1269 "type" : "Roo.Component",
1271 "isOptional" : false
1277 "name" : "beforehide",
1278 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1279 "memberOf" : "Roo.Component",
1287 "type" : "Roo.Component",
1289 "isOptional" : false
1296 "desc" : "Fires after the component is shown.",
1297 "memberOf" : "Roo.Component",
1305 "type" : "Roo.Component",
1307 "isOptional" : false
1313 "name" : "beforeshow",
1314 "desc" : "Fires before the component is shown. Return false to stop the show.",
1315 "memberOf" : "Roo.Component",
1323 "type" : "Roo.Component",
1325 "isOptional" : false
1332 "desc" : "Fires after the component is enabled.",
1333 "memberOf" : "Roo.Component",
1341 "type" : "Roo.Component",
1343 "isOptional" : false
1349 "name" : "beforedestroy",
1350 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1351 "memberOf" : "Roo.Component",
1359 "type" : "Roo.Component",
1361 "isOptional" : false