projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54662d7
)
Roo/bootstrap/Popover.js
author
Alan Knowles
<alan@roojs.com>
Thu, 28 Jan 2021 03:25:33 +0000
(11:25 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 28 Jan 2021 03:25:33 +0000
(11:25 +0800)
Roo/bootstrap/Popover.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Popover.js
b/Roo/bootstrap/Popover.js
index
89bdc91
..
1558b98
100644
(file)
--- a/
Roo/bootstrap/Popover.js
+++ b/
Roo/bootstrap/Popover.js
@@
-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) {