E

TextWrapping

Specifies how text is wrapped and trimmed when it overflows its desired box.

Members

No filters for this type

Constants

The text should neither be wrapped nor trimmed when it overflows its container, but is clipped at the container bounds.
The text should neither be wrapped nor trimmed when it overflows its container.
The text is not wrapped, but trimmed character-wise when it overflows its container.
The text is not wrapped, but trimmed character-wise when it overflows its container, with an ellipsis character added to indicate trimmed text.
The text is not wrapped, but trimmed at word boundaries when it overflows its container.
The text is not wrapped, but trimmed at word boundaries when it overflows its container, with an ellipsis character added to indicate trimmed text.
The text is wrapped character-wise when it overflows its container and if the wrapped text is bigger than the available container, then it is trimmed character by character to fit the container.
The text is wrapped character-wise when it overflows its container and if the wrapped text is bigger than the available container, then it is trimmed character by character to fit the container and an ellipsis is added to indicate trimmed text.
The text is wrapped at word boundaries when it overflows its container and if the wrapped text is bigger than the available container, then it is trimmed at word boundaries to fit the container.
The text is wrapped at word boundaries when it overflows its container and if the wrapped text is bigger than the available container, then it is trimmed character by character to fit the container and an ellipsis is added to indicate trimmed text.

Static Methods

Converts the given argument to an enum constant of this enum type.
Most notably, this method can convert an enum constant's name into the enum constant itself.
static

Parameters

value: TextWrapping
The value to convert to an enum constant.

Return Value

TextWrapping
The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
static

Parameters

value: TextWrapping
The numeric value of an enum constant.

Return Value

string
The name of the enum constant.

Throws

Exception ({ name: 'Error' })
If this type is a flags enums, and the provided value doesn't correspond to a single enum constant, or if this enum type contains no constant of the given numeric value.