This enum represents the different values for the
accessible-role property, used to describe the
role of an element in the context of assistive technology such as screen readers.
none: The element isn’t accessible.
button: The element is a
Buttonor behaves like one.
checkbox: The element is a
CheckBoxor behaves like one.
combobox: The element is a
ComboBoxor behaves like one.
slider: The element is a
Slideror behaves like one.
spinbox: The element is a
SpinBoxor behaves like one.
tab: The element is a
Tabor behaves like one.
text: The role for a
Textelement. It’s automatically applied.
This enum describes whether an event was rejected or accepted by an event handler.
reject: The event is rejected by this event handler and may then be handled by the parent item
accept: The event is accepted and won’t be processed further
This enum describes the different ways of deciding what the inside of a shape described by a path shall be.
This enum defines how the source image shall fit into an
fill: Scales and stretches the source image to fit the width and height of the
contain: The source image is scaled to fit into the
Imageelement’s dimension while preserving the aspect ratio.
cover: The source image is scaled to cover into the
Imageelement’s dimension while preserving the aspect ratio. If the aspect ratio of the source image doesn’t match the element’s one, then the image will be clipped to fit.
This enum specifies how the source image will be scaled.
smooth: The image is scaled with a linear interpolation algorithm.
pixelated: The image is scaled with the nearest neighbor algorithm.
This enum is used to define the type of the input field. Currently this only differentiates between text and password inputs but in the future it could be expanded to also define what type of virtual keyboard should be shown, for example.
text: The default value. This will render all characters normally
password: This will render all characters with a character that defaults to “*”
stretch: Use the minimum size of all elements in a layout, distribute remaining space based on
*-stretchamong all elements.
center: Use the preferred size for all elements, distribute remaining space evenly before the first and after the last element.
start: Use the preferred size for all elements, put remaining space after the last element.
end: Use the preferred size for all elements, put remaining space before the first element.
space-between: Use the preferred size for all elements, distribute remaining space evenly between elements.
space-around: Use the preferred size for all elements, distribute remaining space evenly before the first element, after the last element and between elements.
This enum represents different types of mouse cursors. It’s a subset of the mouse cursors available in CSS. For details and pictograms see the MDN Documentation for cursor. Depending on the backend and used OS unidirectional resize cursors may be replaced with bidirectional ones.
default: The systems default cursor.
none: No cursor is displayed.
help: A cursor indicating help information.
pointer: A pointing hand indicating a link.
progress: The program is busy but can still be interacted with.
wait: The program is busy.
crosshair: A crosshair.
text: A cursor indicating selectable text.
alias: An alias or shortcut is being created.
copy: A copy is being created.
move: Something is to be moved.
no-drop: Something can’t be dropped here.
not-allowed: An action isn’t allowed
grab: Something is grabbable.
grabbing: Something is being grabbed.
col-resize: Indicating that a column is resizable horizontally.
row-resize: Indicating that a row is resizable vertically.
n-resize: Unidirectional resize north.
e-resize: Unidirectional resize east.
s-resize: Unidirectional resize south.
w-resize: Unidirectional resize west.
ne-resize: Unidirectional resize north-east.
nw-resize: Unidirectional resize north-west.
se-resize: Unidirectional resize south-east.
sw-resize: Unidirectional resize south-west.
ew-resize: Bidirectional resize east-west.
ns-resize: Bidirectional resize north-south.
nesw-resize: Bidirectional resize north-east-south-west.
nwse-resize: Bidirectional resize north-west-south-east.
Represents the orientation of an element or widget such as the
horizontal: Element is oriented horizontally.
vertical: Element is oriented vertically.
PathEvent is a low-level data structure describing the composition of a path. Typically it is generated at compile time from a higher-level description, such as SVG commands.
begin: The beginning of the path.
line: A straight line on the path.
quadratic: A quadratic bezier curve on the path.
cubic: A cubic bezier curve on the path.
end-open: The end of the path that remains open.
end-closed: The end of a path that is closed.
The enum reports what happened to the
PointerEventButton in the event
cancel: The action was cancelled.
down: The button was pressed.
up: The button was released.
This enum represents the different values of the
It’s used to sort a
StandardTableView by a column.
unsorted: The column is unsorted.
ascending: The column is sorted in ascending order.
descending: The column is sorted in descending order.
This enum describes the different types of alignment of text along the horizontal axis of a
left: The text will be aligned with the left edge of the containing box.
center: The text will be horizontally centered within the containing box.
right: The text will be aligned to the right of the containing box.
This enum describes the how the text appear if it is too wide to fit in the
clip: The text will simply be clipped.
elide: The text will be elided with
This enum describes the different types of alignment of text along the vertical axis of a
top: The text will be aligned to the top of the containing box.
center: The text will be vertically centered within the containing box.
bottom: The text will be aligned to the bottom of the containing box.
This enum describes the how the text wrap if it is too wide to fit in the
no-wrap: The text won’t wrap, but instead will overflow.
word-wrap: The text will be wrapped at word boundaries.