Show tooltip immediately if the tooltip trigger is manual

This commit is contained in:
Johnston Jiaa
2016-02-28 11:48:27 -05:00
parent a7e43fef7a
commit 5dfd0c9102
3 changed files with 9 additions and 1 deletions

View File

@@ -63,6 +63,8 @@ class TooltipManager
# full list of options. You can also supply the following additional options:
# * `title` A {String} or {Function} to use for the text in the tip. If
# given a function, `this` will be set to the `target` element.
# * `trigger` A {String} that's the same as Bootstrap 'click | hover | focus
# | manual', except 'manual' will show the tooltip immediately.
# * `keyBindingCommand` A {String} containing a command name. If you specify
# this option and a key binding exists that matches the command, it will
# be appended to the title or rendered alone if no title is specified.