Previews

No matching results.

x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<action-menu data-select-variant="none" data-view-component="true">
<focus-group direction="vertical" mnemonics retain>
<button id="deferred-button" popovertarget="deferred-overlay" aria-controls="deferred-list" aria-haspopup="true" type="button" data-view-component="true" class="Button--secondary Button--medium Button"> <span class="Button-content">
<span class="Button-label">Menu with deferred content</span>
</span>
</button>
<anchored-position id="deferred-overlay" anchor="deferred-button" align="start" side="outside-bottom" anchor-offset="normal" popover="auto" data-view-component="true">
<div data-view-component="true" class="Overlay Overlay--size-auto">
<div data-view-component="true" class="Overlay-body Overlay-body--paddingNone"> <include-fragment src="/view-components/rails-app/action_menu/deferred" loading="lazy" data-target="action-menu.includeFragment">
<action-list>
<div data-view-component="true">
<ul aria-labelledby="deferred-button" id="deferred-list" role="menu" data-view-component="true" class="ActionListWrap--inset ActionListWrap">
<li aria-disabled="true" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button autofocus="autofocus" tabindex="-1" id="item-1f7b51a5-8d91-4576-9433-31dbda0139ee" type="button" role="menuitem" data-view-component="true" class="ActionListContent d-flex flex-items-center flex-justify-center text-center">
<span data-view-component="true" class="ActionListItem-label">
<span data-view-component="true">
<svg aria-label="Loading content..." style="box-sizing: content-box; color: var(--color-icon-primary);" width="32" height="32" viewBox="0 0 16 16" fill="none" role="img" data-view-component="true" class="anim-rotate">
<circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.25" stroke-width="2" vector-effect="non-scaling-stroke" fill="none" />
<path d="M15 8a7.002 7.002 0 00-7-7" stroke="currentColor" stroke-width="2" stroke-linecap="round" vector-effect="non-scaling-stroke" />
</svg></span>
</span>
</button>
</li>
</ul>
</div>
</action-list>
</include-fragment>
</div>
</div>
</anchored-position> </focus-group>
</action-menu>
1
2
3
render(Primer::Alpha::ActionMenu.new(menu_id: "deferred", src: UrlHelpers.action_menu_deferred_path)) do |menu|
menu.with_show_button { "Menu with deferred content" }
end

No assets to display.