Scripting API

Scripting API

UiStates

Enum in Abyss.Core, from Abyss.Core.

The states an element of a UI document can be held in on its canvas, as a browser's tools hold one, so what its sheets say for each is seen: a bit each, as the engine numbers them.

public enum UiStates : uint

Values

NameValueDescription
None0None: as it is.
Hover1:hover, as the pointer is over it.
Focus2:focus and :focus-visible, as the keyboard or a gamepad has it.
Active4:active, as it is pressed.
Checked8:checked, as a toggle that is on.
Open16A dropdown open: its list shown where it opens, with its classes, to be styled.
Phone32On the document's top: as on a phone, the top given the class touch, and a dropdown that opens as the screen suits opening in the middle of it.