Skip to content

Commit 337e6e6

Browse files
committed
Add example to the secondary role tooltip.
1 parent a1aeda3 commit 337e6e6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

packages/uhk-web/src/app/components/popover/tab/keypress/keypress-tab.component.html

+9-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,15 @@
4949
></select2>
5050
<icon name="question-circle"
5151
data-toggle="tooltip"
52-
title="The secondary role activates when another key gets pressed while holding this key."
52+
html="true"
53+
maxWidth="620"
54+
title="<p class='text-left'>The secondary role activates when another key gets pressed while holding this key.</p>
55+
<p class='text-left'>Let's say that the scancode is Escape and the secondary role is Mouse. Then:</p>
56+
<ul class='text-left'>
57+
<li>Tap this key to trigger Escape. <i>(Primary role)</i></li>
58+
<li>Hold this key and press another key to activate the relevant key of the Mouse layer. <i>(Secondary role)</i></li>
59+
</ul>
60+
<p class='text-left pt-3'>The secondary role can be any layer or modifier.</p>"
5361
data-placement="bottom"></icon>
5462
</div>
5563

0 commit comments

Comments
 (0)