Fix #6709 - default widths on input fields
[roojs1] / docs / symbols / Roo.bootstrap.CardUploader.json
index cbbcc95..243f481 100644 (file)
       "type" : "Boolean",
       "desc" : "is it a slidy toggle button",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "inverse",
       "type" : "Boolean",
       "desc" : "dark themed version",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "badge",
       "type" : "String",
       "desc" : "text for badge",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "hideMode",
       "type" : "String",
-      "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\".",
+      "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\".",
       "memberOf" : "Roo.Component",
-      "optvals" : [
-        "display",
-        "visibility"
+      "values" : [
+        "(display",
+        "visibility)"
       ]
     },
     {
       "type" : "Array",
       "desc" : "an array of ?? Img objects ??? when loading existing files..",
       "memberOf" : "Roo.bootstrap.CardUploader",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "xattr",
       "type" : "Object",
       "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
       "memberOf" : "Roo.bootstrap.Component",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "disabled",
       "type" : "Boolean",
       "desc" : "default false;",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "name",
       "type" : "string",
       "desc" : "Specifies name attribute",
       "memberOf" : "Roo.bootstrap.Component",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "weight",
       "type" : "String",
-      "desc" : "k) default",
+      "desc" : "default",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : [
-        "default",
+      "values" : [
+        "(default",
         "primary",
         "secondary",
         "success",
@@ -99,7 +99,7 @@
         "danger",
         "link",
         "light",
-        "dark"
+        "dark)"
       ]
     },
     {
       "type" : "Boolean",
       "desc" : "if parent is a btn group - then it turns it into a toogleGroup.",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "tooltip",
       "type" : "string",
       "desc" : "Text for the tooltip",
       "memberOf" : "Roo.bootstrap.Component",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "ontext",
       "type" : "String",
       "desc" : "text for on slidy toggle state",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "preventDefault",
       "type" : "Boolean",
       "desc" : "default true (stop click event triggering the URL if it's a link.)",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "theme",
       "type" : "String",
-      "desc" : "w)",
+      "desc" : "",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : [
-        "default",
-        "glow"
+      "values" : [
+        "(default",
+        "glow)"
       ]
     },
     {
       "name" : "target",
       "type" : "String",
-      "desc" : "r) target for a href.",
+      "desc" : "target for a href.",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : [
-        "_self",
+      "values" : [
+        "(_self",
         "_blank",
         "_parent",
         "_top",
-        "other"
+        "other)"
       ]
     },
     {
       "type" : "String",
       "desc" : "depricated - use fa",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "allowDomMove",
       "type" : "Boolean",
       "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
       "memberOf" : "Roo.Component",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "style",
       "type" : "String",
       "desc" : "any extra css",
       "memberOf" : "Roo.bootstrap.Component",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "isClose",
       "type" : "Boolean",
       "desc" : "default false;",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "errorTimeout",
       "type" : "Number",
       "desc" : "default 3000",
       "memberOf" : "Roo.bootstrap.CardUploader",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "actionMode",
       "type" : "String",
       "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",
       "memberOf" : "Roo.Component",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "listeners",
       "type" : "Object",
       "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>",
       "memberOf" : "Roo.util.Observable",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "container_method",
       "type" : "string",
       "desc" : "method to fetch parents container element (used by NavHeaderbar -  getHeaderChildContainer)",
       "memberOf" : "Roo.bootstrap.Component",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "fa",
       "type" : "String",
       "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "size",
       "type" : "String",
-      "desc" : "s)",
+      "desc" : "",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : [
-        "lg",
+      "values" : [
+        "(lg",
         "sm",
-        "xs"
+        "xs)"
       ]
     },
     {
       "type" : "String",
       "desc" : "css class",
       "memberOf" : "Roo.bootstrap.Component",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "badge_weight",
       "type" : "String",
-      "desc" : "k) default (same as button)",
+      "desc" : "default (same as button)",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : [
-        "default",
+      "values" : [
+        "(default",
         "primary",
         "secondary",
         "success",
         "danger",
         "link",
         "light",
-        "dark"
+        "dark)"
       ]
     },
     {
       "type" : "Boolean",
       "desc" : "True if element can be rebuild from a HTML page",
       "memberOf" : "Roo.bootstrap.Component",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "disableClass",
       "type" : "String",
       "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
       "memberOf" : "Roo.Component",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "visibilityEl",
       "type" : "string|object",
-      "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
+      "desc" : "What element to use for visibility (@see getVisibilityEl())",
       "memberOf" : "Roo.bootstrap.Component",
-      "optvals" : [
-        "el",
-        "parent"
+      "values" : [
+        "(el",
+        "parent)"
       ]
     },
     {
       "type" : "String",
       "desc" : "empty or href",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "tag",
       "type" : "String",
-      "desc" : "t)",
+      "desc" : "",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : [
-        "a",
+      "values" : [
+        "(a",
         "input",
-        "submit"
+        "submit)"
       ]
     },
     {
       "type" : "string",
       "desc" : "cutomer id",
       "memberOf" : "Roo.bootstrap.Component",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "outline",
       "type" : "Boolean",
       "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "offtext",
       "type" : "String",
       "desc" : "text for off slidy toggle state",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "removeClass",
       "type" : "Boolean",
       "desc" : "remove the standard class..",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "html",
       "type" : "Array",
       "desc" : "The button text.",
       "memberOf" : "Roo.bootstrap.CardUploader",
-      "optvals" : []
+      "values" : []
     },
     {
       "name" : "pressed",
       "type" : "Boolean",
       "desc" : "default null - if the button ahs active state",
       "memberOf" : "Roo.bootstrap.Button",
-      "optvals" : []
+      "values" : []
     }
   ],
   "methods" : [
+    {
+      "name" : "addCard",
+      "desc" : "addCard - add an Attachment to the uploader",
+      "isStatic" : false,
+      "isConstructor" : false,
+      "isPrivate" : false,
+      "memberOf" : "Roo.bootstrap.CardUploader",
+      "example" : "",
+      "deprecated" : "",
+      "since" : "",
+      "see" : "",
+      "params" : [
+        {
+          "name" : "data",
+          "type" : "",
+          "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        }",
+          "isOptional" : false
+        }
+      ],
+      "returns" : []
+    },
     {
       "name" : "setText",
       "desc" : "set the text of the first selected button",
     }
   ],
   "events" : [
+    {
+      "name" : "download",
+      "desc" : "When a the download link is clicked",
+      "memberOf" : "Roo.bootstrap.CardUploader",
+      "example" : "",
+      "deprecated" : "",
+      "since" : "",
+      "see" : "",
+      "params" : [
+        {
+          "name" : "this",
+          "type" : "Roo.bootstrap.Card",
+          "desc" : "",
+          "isOptional" : false
+        },
+        {
+          "name" : "The",
+          "type" : "Object",
+          "desc" : "image information data  contains",
+          "isOptional" : false
+        }
+      ],
+      "returns" : []
+    },
+    {
+      "name" : "preview",
+      "desc" : "When a image is clicked on - and needs to display a slideshow or similar..",
+      "memberOf" : "Roo.bootstrap.CardUploader",
+      "example" : "",
+      "deprecated" : "",
+      "since" : "",
+      "see" : "",
+      "params" : [
+        {
+          "name" : "this",
+          "type" : "Roo.bootstrap.Card",
+          "desc" : "",
+          "isOptional" : false
+        },
+        {
+          "name" : "The",
+          "type" : "Object",
+          "desc" : "image information data",
+          "isOptional" : false
+        }
+      ],
+      "returns" : []
+    },
     {
       "name" : "toggle",
       "desc" : "After the button has been toggles",