Constructor


LabelMenuItemComponent(text: string|Text, child: AbstractMenuItemComponent, x_sizing: Sizing?, y_sizing: Sizing?, options: table?)

Arguments:

text: string|Text

The Text object, made for displaying formatted text.

If you're looking for text which writes itself out over time, see DialogueText.

child: AbstractMenuItemComponent
x_sizing: Sizing?
y_sizing: Sizing?
options: table?




Methods


LabelMenuItemComponent:onHovered(hovered: any, initial: any)

Arguments:

hovered: any
initial: any









Fields



LabelMenuItemComponent.text: Text

The Text object, made for displaying formatted text.

If you're looking for text which writes itself out over time, see DialogueText.



Undocumented