Nathan Sobo
72c5fcad82
Eliminate selector option in tooltip manager API
...
No packages use it currently, and it's really complex to support so
we should kill it while we have the chance. When it comes time to
rewrite the tooltip code or add features, not worrying about selectors
will make it easier.
2016-10-10 14:08:51 -06:00
Nathan Sobo
0c7fdea695
Document tooltip API directly instead of referring to Bootstrap docs
...
I want to eliminate the selector option and open the door to diverging from
the lesser used parts of that API in the future by only documenting a subset.
2016-10-10 14:08:51 -06:00
Nathan Sobo
718cc017e6
Hide click-triggered tooltips when clicking anywhere outside of tooltip
...
Signed-off-by: Antonio Scandurra <as-cii@github.com >
2016-10-10 14:08:51 -06:00
Nathan Sobo
253917f007
Make tooltip accept an item option instead of tooltipElement
...
...and use view registry to resolve it to a view when showing the tooltip.
Signed-off-by: Antonio Scandurra <as-cii@github.com >
2016-10-10 14:08:51 -06:00
Johnston Jiaa
5dfd0c9102
Show tooltip immediately if the tooltip trigger is manual
2016-02-28 12:12:13 -05:00
Nathan Sobo
54ab5980fa
Assign tooltips in Atom environment constructor
2015-10-07 15:24:51 -05:00
Nathan Sobo
108b00dae0
Support jQuery wrappers being passed to tooltip manager
...
Not my favorite feature, but required for backward-compatibility.
2015-09-18 20:48:51 -06:00
Nathan Sobo
acfbf6d613
Lazy-require tooltip class
2015-09-18 20:48:51 -06:00
Nathan Sobo
3c58e221a2
Add custom tooltip implementation that doesn’t depend on jQuery
2015-09-18 20:48:49 -06:00
Nathan Sobo
69664fc77b
Remove space-pen-extensions
...
Move the last remaining feature into the tooltip manager.
2015-09-18 20:48:49 -06:00
Machiste Quintana
513fc70154
📝 Add docs about passing a function to a tooltip title
2015-05-25 11:50:20 -04:00
Kevin Sawicki
250670be23
Guard against missing tooltip data
2015-05-11 18:10:57 -07:00
Max Brunsfeld
c19aee5472
Carry over remaining tooltip disposal code from space-pen extensions
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
Signed-off-by: Nathan Sobo <nathan@github.com >
2014-12-03 17:02:47 -08:00
Ben Ogle
e9d49b1df3
📝 Add tooltip examples
2014-12-03 16:23:08 -08:00
Ben Ogle
37e6f03346
Fix tooltip command display when command has no keybinding
2014-12-02 16:31:38 -08:00
Ben Ogle
f79b78054c
Add title to TooltipManager args
2014-11-20 18:35:01 -08:00
Nathan Sobo
ea207f0938
📝 returned disposable
2014-11-20 09:13:36 -07:00
Nathan Sobo
78e61c3ff9
Remove ability to add tooltip with selector
...
It’s incompatible with returning a disposable because there’s no way
to distinguish multiple tooltips added to the body with different
selectors. Maybe someday.
2014-11-19 19:20:48 -07:00
Nathan Sobo
22c9a222c9
Return a Disposable from TooltipManager::add
2014-11-19 19:19:05 -07:00
Nathan Sobo
cc4ab0d36b
📝 Document TooltipManager
2014-11-19 19:13:33 -07:00
Nathan Sobo
7bdf3b1719
Add support for keyBindingTarget to TooltipManager::add
2014-11-19 19:10:36 -07:00
Nathan Sobo
175d7811b4
Add TooltipManager
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-19 18:57:08 -07:00