struct
Tessell::UI::Meta
- Tessell::UI::Meta
- Struct
- Value
- Object
Overview
Per-node metadata for change detection and stable identity. a11y_* fields mirror the declaration so that a11y meta is only rewritten when the accessible surface actually changes (steady state: never).
Defined in:
tessell/ui/apply.crConstructors
Instance Method Summary
- #a11y_enabled : Bool
- #a11y_focusable : Bool
- #a11y_name : String
- #a11y_role : A11y::Role
- #a11y_value : String
- #bounds : Rect
- #direction : Layout::Direction
- #kind : DeclKind
- #paint : UInt32
- #seen : UInt32
- #text : String
Constructor Detail
def self.new(kind : DeclKind, text : String, bounds : Rect, direction : Layout::Direction, paint : UInt32, seen : UInt32, a11y_role : A11y::Role = A11y::Role::Group, a11y_name : String = "", a11y_value : String = "", a11y_focusable : Bool = false, a11y_enabled : Bool = true)
#