monks/text_overflow
The text-overflow CSS property sets how hidden overflow content is signaled to users. It can be clipped, display an ellipsis (…), or display a custom string.
Values
pub const clip: #(String, String)
- : The default for this property. This keyword value will truncate the text at the limit of the content area, therefore the truncation can happen in the middle of a character. To clip at the transition between characters you can specify
text-overflowas an empty string, if that is supported in your target browsers:text-overflow: '';.
pub const ellipsis: #(String, String)
- : This keyword value will display an ellipsis (
'…',U+2026 HORIZONTAL ELLIPSIS) to represent clipped text. The ellipsis is displayed inside the content area, decreasing the amount of text displayed. If there is not enough space to display the ellipsis, it is clipped.
pub const revert_layer: #(String, String)