LavaUI docs

struct Button

Swift

struct Button

A clickable control whose hover and press feedback is owned by the renderer.

Sources/LavaUI/Button.swift:4

Constructors

init(_ title: String, style: ButtonStyle = ButtonStyle(), font: UIFont? = nil, isEnabled: Bool = true, action: @escaping () -> Void)

Not documented.

Sources/LavaUI/Button.swift:11

Properties

var action: () -> Void

Not documented.

Sources/LavaUI/Button.swift:6

var dumpDetail: String { get }

Not documented.

Sources/LavaUI/Button.swift:27

var font: UIFont?

Not documented.

Sources/LavaUI/Button.swift:7

var isEnabled: Bool

Not documented.

Sources/LavaUI/Button.swift:9

var resolvedFont: UIFont? { get }

Not documented.

Sources/LavaUI/Button.swift:25

var style: ButtonStyle

Not documented.

Sources/LavaUI/Button.swift:8

var title: String

Not documented.

Sources/LavaUI/Button.swift:5

Methods

func mountPrimitive() -> any AnyViewNode

Not documented.

Sources/LavaUI/Button.swift:29

func reconcilePrimitive(_ node: any AnyViewNode) -> any AnyViewNode

Not documented.

Sources/LavaUI/Button.swift:36