-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new
delayOnChange
option to quickly open subsequent tooltips (#63)
* Add new `delayOnChange` option * Fixed tests
- Loading branch information
Showing
6 changed files
with
100 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{{!-- BEGIN-SNIPPET tooltip-delay-open-3 --}} | ||
{{#test-component | ||
tooltipContent='This will open after 1000ms' | ||
tooltipDelay=1000 | ||
}} | ||
Hover over me first | ||
{{/test-component}} | ||
|
||
{{#test-component | ||
tooltipContent='This will open immediately if there is already another tooltip visible, otherwise will delay 1000ms' | ||
tooltipDelay=1000 | ||
tooltipDelayOnChange=false | ||
}} | ||
Hover over me second | ||
{{/test-component}} | ||
{{!-- END-SNIPPET --}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters