Collection of Requiem enums and types.
- Source:
Members
(static, constant) Directive :string
Enum for custom DOM directives/attributes.
Type:
- string
Properties:
Name | Type | Description |
---|---|---|
STATE |
string | Use this directive for managing DOM element states. |
REF |
string | Use this directive for referencing global shared data. |
DATA |
string | Use this directive to map any property from the DOM to the controller. |
- Source:
(static, constant) DirtyType :number
Enum for custom UI dirty types. Dirty types help identify what needs to be
redrawn/updated in the UI.
Type:
- number
Properties:
Name | Type | Description |
---|---|---|
NONE |
number | Indicates that nothing in the UI has changed. |
POSITION |
number | Indicates that UI element positions have changed. |
SIZE |
number | Indicates that UI element sizes have changed. |
LAYOUT |
number | Indicates that UI element layouts have changed. |
STATE |
number | Indicates that UI element states have changed. |
DATA |
number | Indicates that UI element data has changed. |
LOCALE |
number | Indicates that UI element locale has changed. |
DEPTH |
number | Indicates that UI element depths have changed. |
CONFIG |
number | Indicates that UI element configurations have changed. |
STYLE |
number | Indicates that UI element styles have changed. |
INPUT |
number | Indicates that UI input elements have changed. |
ORIENTATION |
number | Indicates that UI element orientations have changed. |
FRAME |
number | Indicates that UI element frames have advanced. |
RENDER |
number | Indicates that UI element should rerender. |
CUSTOM |
number | Custom type used as a base for creating new types. |
ALL |
number | Indicates that everything has changed in the UI. |
toString |
number | Gets the name of the dirty type. |
- Source:
(static, constant) EventType :string
Enum for all supported event types.
Type:
- string
Properties:
Name | Type | Description |
---|---|---|
NODE |
string | |
DATA |
string | |
MOUSE |
string | |
KEYBOARD |
string | |
DEVICE |
string | |
OBJECT |
string | |
FORM |
string | |
DRAG |
string | |
CLIPBOARD |
string | |
PRINT |
string | |
MEDIA |
string | |
ANIMATION |
string | |
TRANSITION |
string | |
SERVER_SENT |
string | |
MISC |
string | |
TOUCH |
string |
- Source:
(static, constant) KeyCode :number
Enum for universal key codes.
Type:
- number
Properties:
Name | Type | Description |
---|---|---|
BACKSPACE |
number | |
TAB |
number | |
ENTER |
number | |
SHIFT |
number | |
CTRL |
number | |
ALT |
number | |
PAUSE_BREAK |
number | |
CAPS_LOCK |
number | |
ESCAPE |
number | |
PAGE_UP |
number | |
PAGE_DOWN |
number | |
END |
number | |
HOME |
number | |
LEFT_ARROW |
number | |
UP_ARROW |
number | |
RIGHT_ARROW |
number | |
DOWN_ARROW |
number | |
INSERT |
number | |
DELETE |
number | |
ZERO |
number | |
ONE |
number | |
TWO |
number | |
THREE |
number | |
FOUR |
number | |
FIVE |
number | |
SIX |
number | |
SEVEN |
number | |
EIGHT |
number | |
NINE |
number | |
A |
number | |
B |
number | |
C |
number | |
D |
number | |
E |
number | |
F |
number | |
G |
number | |
H |
number | |
I |
number | |
J |
number | |
K |
number | |
L |
number | |
M |
number | |
N |
number | |
O |
number | |
P |
number | |
Q |
number | |
R |
number | |
S |
number | |
T |
number | |
U |
number | |
V |
number | |
W |
number | |
X |
number | |
Y |
number | |
Z |
number | |
LEFT_CMD |
number | |
RIGHT_CMD |
number | |
SELECT |
number | |
NUMPAD_ZERO |
number | |
NUMPAD_ONE |
number | |
NUMPAD_TWO |
number | |
NUMPAD_THREE |
number | |
NUMPAD_FOUR |
number | |
NUMPAD_FIVE |
number | |
NUMPAD_SIX |
number | |
NUMPAD_SEVEN |
number | |
NUMPAD_EIGHT |
number | |
NUMPAD_NINE |
number | |
MULTIPLY |
number | |
ADD |
number | |
SUBTRACT |
number | |
DECIMAL |
number | |
DIVIDE |
number | |
F1 |
number | |
F2 |
number | |
F3 |
number | |
F4 |
number | |
F5 |
number | |
F6 |
number | |
F7 |
number | |
F8 |
number | |
F9 |
number | |
F10 |
number | |
F11 |
number | |
F12 |
number | |
NUM_LOCK |
number | |
SCROLL_LOCK |
number | |
SEMI_COLON |
number | |
EQUAL |
number | |
COMMA |
number | |
DASH |
number | |
PERIOD |
number | |
FORWARD_SLASH |
number | |
GRAVE_ACCENT |
number | |
OPEN_BRACKET |
number | |
BACK_SLASH |
number | |
CLOSE_BRACKET |
number | |
SINGLE_QUOTE |
number | |
toString |
number | Gets the name of a key code. |
- Source:
(static, constant) NodeState :number
Enum for all node states.
Type:
- number
Properties:
Name | Type | Description |
---|---|---|
IDLE |
number | Element is instantiated but not initialized yet. This state almost never persists. |
INITIALIZED |
number | Element is initialized, but not updated yet. |
UPDATED |
number | Element is updated at least once. |
DESTROYED |
number | Element is destroyed. |
toString |
number | Gets the name of a node state. |
- Source:
(static, constant) NodeState :number
Enum for all viewport size classes (defaults to portrait).
Type:
- number
Properties:
Name | Type | Description |
---|---|---|
MOBILE |
number | Mobile devices. |
PHABLET |
number | Phablet devices |
TABLET |
number | Tablet devices. |
DESKTOP |
number | Desktop devices. |
get |
number | Gets the viewport size class. |
- Source:
(static, constant) Orientation :number
Enum for all orientation types.
Type:
- number
Properties:
Name | Type | Description |
---|---|---|
PORTRAIT |
number | Portrait orientation, where height > width. |
LANDSCAPE |
number | Landscape orientation, where width > height. |
toString |
number | Gets the name of an orientation enum. |
- Source: