-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
188 additions
and
72 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,28 @@ | ||
|
||
|
||
<button data-tooltipselector=".tooltip<%= i %>">no class - no event</button> | ||
<div class="tooltipstyle tooltip<%= i %>"> | ||
Let's try: <%= i %> | ||
<button>test</button> | ||
<br /> | ||
test | ||
.tooltip: <%= i %> | ||
<div class="arrow" data-popper-arrow></div> | ||
</div> | ||
|
||
<button data-tooltipselector=".tooltip<%= i+1 %>" class="tooltip-on-hover">.tooltip-on-hover</button> | ||
<div class="tooltipstyle tooltip<%= i+1 %>"> | ||
Let's try: <%= i+1 %> | ||
<button>test</button> | ||
<br /> | ||
test | ||
<div class="arrow" data-popper-arrow></div> | ||
</div> | ||
|
||
<button data-tooltipselector=".tooltip<%= i+2 %>" class="tooltip-toggle-click">.tooltip-toggle-click</button> | ||
<div class="tooltipstyle tooltip<%= i+2 %>"> | ||
Let's try: <%= i+2 %> | ||
<img src="https://i.imgur.com/CBcGC9X.png" style="width: 100px" /> | ||
<div class="tooltipstyle tooltip<%= i+1 %>" data-tooltip-delay="500"> | ||
.tooltip-on-hover: <%= i+1 %> | ||
<div class="arrow" data-popper-arrow></div> | ||
</div> | ||
|
||
<button data-tooltipselector=".tooltip<%= i+3 %>" class="tooltip-toggle-click">.tooltip-toggle-click.show</button> | ||
<div class="tooltipstyle tooltip<%= i+3 %> show"> | ||
Let's try: <%= i+3 %> | ||
My tooltip | ||
<button>test</button> | ||
<br /> | ||
test | ||
<button data-tooltipselector=".tooltip<%= i+2 %>" class="tooltip-toggle-click">.tooltip-toggle-click.show</button> | ||
<div class="tooltipstyle tooltip<%= i+2 %> show"> | ||
.tooltip-toggle-click.show: <%= i+2 %> | ||
<div class="arrow" data-popper-arrow></div> | ||
</div> | ||
|
||
<button data-tooltipselector=".tooltip<%= i+4 %>" class="tooltip-hide-on-click-outside"> | ||
<button data-tooltipselector=".tooltip<%= i+3 %>" class="tooltip-hide-on-click-outside"> | ||
.tooltip-hide-on-click-outside | ||
</button> | ||
<div class="tooltipstyle tooltip<%= i+4 %>"> | ||
Let's try: <%= i+4 %> | ||
<br /> | ||
<button>test</button> | ||
<br /> | ||
test | ||
<div class="tooltipstyle tooltip<%= i+3 %>"> | ||
.tooltip-hide-on-click-outside: <%= i+3 %> | ||
<button onclick="alert('action')">run</button> | ||
<div class="arrow" data-popper-arrow></div> | ||
</div> | ||
<br /> | ||
<br /> | ||
<br /> |