update docs and fix api for BS Alert
[roojs1] / docs / symbols / Roo.bootstrap.Alert.json
index 715be61..0e8b4be 100644 (file)
     {
       "name" : "weight",
       "type" : "String",
-      "desc" : "",
+      "desc" : "Weight of the message",
       "memberOf" : "Roo.bootstrap.Alert",
       "values" : [
-        "(  success",
+        "(success",
         "info",
         "warning",
-        "danger )"
+        "danger)"
       ]
     },
     {
   ],
   "methods" : [
     {
-      "name" : "tooltipEl",
-      "desc" : "Fetch the element to display the tooltip on.",
+      "name" : "setTitle",
+      "desc" : "Set the Title Message HTML",
       "isStatic" : false,
       "isConstructor" : false,
       "isPrivate" : false,
-      "memberOf" : "Roo.bootstrap.Component",
+      "memberOf" : "Roo.bootstrap.Alert",
       "example" : "",
       "deprecated" : "",
       "since" : "",
       "see" : "",
-      "params" : [],
-      "returns" : [
+      "params" : [
         {
-          "name" : "",
-          "type" : "Roo.Element",
-          "desc" : "defaults to this.el"
+          "name" : "html",
+          "type" : "String",
+          "desc" : "",
+          "isOptional" : false
         }
-      ]
+      ],
+      "returns" : []
+    },
+    {
+      "name" : "setHtml",
+      "desc" : "Set the Body Message HTML",
+      "isStatic" : false,
+      "isConstructor" : false,
+      "isPrivate" : false,
+      "memberOf" : "Roo.bootstrap.Alert",
+      "example" : "",
+      "deprecated" : "",
+      "since" : "",
+      "see" : "",
+      "params" : [
+        {
+          "name" : "html",
+          "type" : "String",
+          "desc" : "",
+          "isOptional" : false
+        }
+      ],
+      "returns" : []
+    },
+    {
+      "name" : "setWeight",
+      "desc" : "Set the Weight of the alert",
+      "isStatic" : false,
+      "isConstructor" : false,
+      "isPrivate" : false,
+      "memberOf" : "Roo.bootstrap.Alert",
+      "example" : "",
+      "deprecated" : "",
+      "since" : "",
+      "see" : "",
+      "params" : [
+        {
+          "name" : "(success|info|warning|danger)",
+          "type" : "String",
+          "desc" : "weight",
+          "isOptional" : false
+        }
+      ],
+      "returns" : []
+    },
+    {
+      "name" : "setIcon",
+      "desc" : "Set the Icon of the alert",
+      "isStatic" : false,
+      "isConstructor" : false,
+      "isPrivate" : false,
+      "memberOf" : "Roo.bootstrap.Alert",
+      "example" : "",
+      "deprecated" : "",
+      "since" : "",
+      "see" : "",
+      "params" : [
+        {
+          "name" : "see",
+          "type" : "String",
+          "desc" : "fontawsome names (name without the 'fa-' bit)",
+          "isOptional" : false
+        }
+      ],
+      "returns" : []
     },
     {
       "name" : "hide",
-      "desc" : "Hide a component - adds 'hidden' class",
+      "desc" : "Hide the Alert",
       "isStatic" : false,
       "isConstructor" : false,
       "isPrivate" : false,
-      "memberOf" : "Roo.bootstrap.Component",
+      "memberOf" : "Roo.bootstrap.Alert",
       "example" : "",
       "deprecated" : "",
       "since" : "",
     },
     {
       "name" : "show",
-      "desc" : "Show a component - removes 'hidden' class",
+      "desc" : "Show the Alert",
       "isStatic" : false,
       "isConstructor" : false,
       "isPrivate" : false,
-      "memberOf" : "Roo.bootstrap.Component",
+      "memberOf" : "Roo.bootstrap.Alert",
       "example" : "",
       "deprecated" : "",
       "since" : "",
       "params" : [],
       "returns" : []
     },
+    {
+      "name" : "tooltipEl",
+      "desc" : "Fetch the element to display the tooltip on.",
+      "isStatic" : false,
+      "isConstructor" : false,
+      "isPrivate" : false,
+      "memberOf" : "Roo.bootstrap.Component",
+      "example" : "",
+      "deprecated" : "",
+      "since" : "",
+      "see" : "",
+      "params" : [],
+      "returns" : [
+        {
+          "name" : "",
+          "type" : "Roo.Element",
+          "desc" : "defaults to this.el"
+        }
+      ]
+    },
     {
       "name" : "setVisibilityEl",
       "desc" : "Set the element that will be used to show or hide",