struct Tessell::UI::Meta

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.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def a11y_enabled : Bool #

[View source]
def a11y_focusable : Bool #

[View source]
def a11y_name : String #

[View source]
def a11y_role : A11y::Role #

[View source]
def a11y_value : String #

[View source]
def bounds : Rect #

[View source]
def direction : Layout::Direction #

[View source]
def kind : DeclKind #

[View source]
def paint : UInt32 #

[View source]
def seen : UInt32 #

[View source]
def text : String #

[View source]