x
1
2
3
4
5
6
<div style="display: grid; place-content: center; margin-top: 4rem;"> <button id="tooltip-se" type="button" data-view-component="true" class="Button--secondary Button--medium Button"> <span class="Button-content"> <span class="Button-label">Tooltip southeast</span> </span> </button><tool-tip id="tooltip-ec6d1ba3-3b8d-4b1e-837d-568ec64c74b9" for="tooltip-se" popover="manual" data-direction="se" 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-se")) do |b| %> <% b.with_tooltip(text: "This is a tooltip", direction: :se) %> Tooltip southeast <% end %></div>
No notes provided.
No params configured.
No assets to display.