Link Search Menu Expand Document

MenuElement.Attributes

Attributes that determine the style of the menu element.

public struct Attributes: OptionSet 

Inheritance

OptionSet

Nested Type Aliases

RawValue

public typealias RawValue = Int

Initializers

init(rawValue:)

public init(rawValue: RawValue) 

Properties

rawValue

public let rawValue: RawValue

destructive

An attribute indicating the destructive style.

public static var destructive: MenuElement.Attributes 

disabled

An attribute indicating the disabled style.

public static var disabled: MenuElement.Attributes 

hidden

An attribute indicating the hidden style.

public static var hidden: MenuElement.Attributes