Link Search Menu Expand Document

FocusItem

An object that can become focused.

public protocol FocusItem: FocusEnvironment 

Inheritance

FocusEnvironment

Default Implementations

isFocused

public var isFocused: Bool 

didHintFocusMovement(_:)

public func didHintFocusMovement(_ hint: FocusMovementHint) 

Requirements

canBecomeFocused

A boolean value that indicates whether the item can become focused.

var canBecomeFocused: Bool 

isFocused

A boolean value indicating whether the item is currently focused.

var isFocused: Bool 

frame

The geometric frame of the item.

var frame: Rect 

didHintFocusMovement(_:​)

func didHintFocusMovement(_ hint: FocusMovementHint)