Fix #6584 - make popover a primary container element
[roojs1] / docs / symbols / Roo.bootstrap.Popover.json
index 6651a74..e5e5bdb 100644 (file)
   "returns" : [],
   "config" : [
     {
-      "name" : "placement",
-      "type" : "String",
-      "desc" : "how it is placed",
-      "memberOf" : "Roo.bootstrap.Popover",
-      "optvals" : []
-    },
-    {
-      "name" : "over",
-      "type" : "String",
-      "desc" : "what (parent or false to trigger manually.)",
+      "name" : "modal",
+      "type" : "Boolean",
+      "desc" : "- popovers that are modal will mask the screen, and must be closed with another event.",
       "memberOf" : "Roo.bootstrap.Popover",
       "optvals" : []
     },
       "memberOf" : "Roo.util.Observable",
       "optvals" : []
     },
+    {
+      "name" : "add",
+      "type" : "String|Boolean|Roo.Element",
+      "desc" : "click hander to trigger show over what element\n     - if false and it has a 'parent' then it will be automatically added to that element\n     - if string - Roo.get  will be called",
+      "memberOf" : "Roo.bootstrap.Popover",
+      "optvals" : []
+    },
     {
       "name" : "tooltip",
       "type" : "string",
       "memberOf" : "Roo.Component",
       "optvals" : []
     },
+    {
+      "name" : "(right|top|bottom|left|auto)",
+      "type" : "String|function",
+      "desc" : "placement how it is placed",
+      "memberOf" : "Roo.bootstrap.Popover",
+      "optvals" : []
+    },
     {
       "name" : "html",
       "type" : "String",
   ],
   "methods" : [
     {
-      "name" : "tooltipEl",
-      "desc" : "Fetch the element to display the tooltip on.",
+      "name" : "setContent",
+      "desc" : "",
       "isStatic" : false,
       "isConstructor" : false,
       "isPrivate" : false,
-      "memberOf" : "Roo.bootstrap.Component",
+      "memberOf" : "Roo.bootstrap.Popover",
       "example" : "",
       "deprecated" : "",
       "since" : "",
       "see" : "",
-      "params" : [],
-      "returns" : [
+      "params" : [
         {
-          "name" : "",
-          "type" : "Roo.Element",
-          "desc" : "defaults to this.el"
+          "name" : "the",
+          "type" : "string",
+          "desc" : "body content",
+          "isOptional" : false
         }
-      ]
+      ],
+      "returns" : []
     },
     {
-      "name" : "hide",
-      "desc" : "Hide a component - adds 'hidden' class",
+      "name" : "setTitle",
+      "desc" : "",
       "isStatic" : false,
       "isConstructor" : false,
       "isPrivate" : false,
-      "memberOf" : "Roo.bootstrap.Component",
+      "memberOf" : "Roo.bootstrap.Popover",
       "example" : "",
       "deprecated" : "",
       "since" : "",
       "see" : "",
-      "params" : [],
+      "params" : [
+        {
+          "name" : "the",
+          "type" : "string",
+          "desc" : "title",
+          "isOptional" : false
+        }
+      ],
       "returns" : []
     },
     {
       "name" : "show",
-      "desc" : "Show a component - removes 'hidden' class",
+      "desc" : "Show the popover",
+      "isStatic" : false,
+      "isConstructor" : false,
+      "isPrivate" : false,
+      "memberOf" : "Roo.bootstrap.Popover",
+      "example" : "",
+      "deprecated" : "",
+      "since" : "",
+      "see" : "",
+      "params" : [
+        {
+          "name" : "-",
+          "type" : "Roo.Element|string|false",
+          "desc" : "element to align and point to.",
+          "isOptional" : false
+        }
+      ],
+      "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" : "hide",
+      "desc" : "Hide a component - adds 'hidden' class",
       "isStatic" : false,
       "isConstructor" : false,
       "isPrivate" : false,