Contents

borderlessButton

A menu style that displays a borderless button that toggles the display of the menu’s contents when pressed.

Declaration

@MainActor @preconcurrency static var borderlessButton: BorderlessButtonMenuStyle { get }

Discussion

On macOS, the button optionally displays an arrow indicating that it presents a menu.

Pressing and then dragging into the contents triggers the chosen action on release.

See Also

Getting built-in menu styles