wrap
slinky.web.html.wrap$
textarea - Indicates how the control wraps text. Possible values are:
hard
: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; thecols
attribute must be specified.soft
: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.off
: Likesoft
but changes appearance towhite-space: pre
so line segments exceedingcols
are not wrapped and area becomes horizontally scrollable.
If this attribute is not specified, soft
is its default value.
pre - Is a hint indicating how the overflow must happen. In modern browser this hint is ignored and no visual effect results in its present; to achieve such an effect, use CSS white-space
instead.
Attributes
- Graph
- Supertypes
- trait Attrclass Objecttrait Matchableclass Any
- Self type
- wrap.type