x
1
2
3
4
<button id="button-with-existing-description" aria-describedby="existing-description-id" type="button" data-view-component="true" class="Button--secondary Button--medium Button"> <span class="Button-content"> <span class="Button-label">Button</span> </span></button><tool-tip id="tooltip-8c7382e4-8d4f-4021-b9d2-a5362d43627b" for="button-with-existing-description" popover="manual" data-direction="s" data-type="description" data-view-component="true" class="sr-only position-absolute">You can press a button</tool-tip>
1
2
3
4
render(Primer::Beta::Button.new(id: "button-with-existing-description", "aria-describedby": "existing-description-id")) do |component| component.with_tooltip(text: tooltip_text, direction: direction) "Button"end
No notes provided.
Param | Description | Input |
---|---|---|
— |
|
|
— |
|
No assets to display.