Roo/bootstrap/Popover.js
authorAlan Knowles <alan@roojs.com>
Thu, 28 Jan 2021 03:25:33 +0000 (11:25 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 28 Jan 2021 03:25:33 +0000 (11:25 +0800)
Roo/bootstrap/Popover.js

index 89bdc91..1558b98 100644 (file)
@@ -93,6 +93,9 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
         
         return cfg;
     },
+    /**
+     * @param {string} the title
+     */
     setTitle: function(str)
     {
         this.title = str;
@@ -101,6 +104,9 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
         }
         
     },
+    /**
+     * @param {string} the body content
+     */
     setContent: function(str)
     {
         this.html = str;
@@ -158,7 +164,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
             return;
         }
          
-        
+        // support parent
         var on_el = (this.over == 'parent' || this.over === false) ? this.parent().el : Roo.get(this.over);
         var triggers = this.trigger ? this.trigger.split(' ') : [];
         Roo.each(triggers, function(trigger) {