text-overflow
Since: UXP v3.0
Determines if an ellipsis should be shown when text is clipped. Supports clip
(default) and ellipsis
.
See: https://developer.mozilla.org/en/docs/Web/CSS/text-overflow
Example
Copied to your clipboard1.someElement {2 overflow: hidden;3 white-space: nowrap;4 text-overflow: ellipsis;5}
Quirks and Exceptions
- Text edit fields do not support adding an ellipsis.
- Not all Spectrum UXP components support adding an ellipsis.