x
1
2
3
4
5
6
<div style="display: grid; place-content: center; margin-top: 4rem;"> <button id="tooltip-n" type="button" data-view-component="true" class="Button--secondary Button--medium Button"> <span class="Button-content"> <span class="Button-label">Tooltip north</span> </span> </button><tool-tip id="tooltip-912c5d38-6d5e-442e-aaee-e21e13000ca1" for="tooltip-n" popover="manual" data-direction="n" data-type="description" data-view-component="true" class="sr-only position-absolute">This is a tooltip</tool-tip></div>
1
2
3
4
5
6
<div style="display: grid; place-content: center; margin-top: 4rem;"> <%= render(Primer::Beta::Button.new(id: "tooltip-n")) do |b| %> <% b.with_tooltip(text: "This is a tooltip", direction: :n) %> Tooltip north <% end %></div>
No notes provided.
No params configured.
No assets to display.