API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceTextAreaOptions
@codexo/exojs / ui / stable
Options for TextArea.
11
props
0
methods
0
events
Import
import { TextAreaOptions } from '@codexo/exojs'Options for TextArea.
Properties11
filter?: (candidate: string) => booleanGate on the value an edit would produce. An edit whose resulting value is rejected does not happen at all - a refused paste is dropped whole.
height?: numberVisible height in pixels. Default 36.
maxLength?: numberMaximum value length in UTF-16 code units. Unlimited when absent.
placeholder?: stringHint shown while the field holds no text. Default ''.
readOnly?: booleanWhen set, the field renders and takes focus but rejects every edit. Default false.
scrollbar?: booleanWhether a scrollbar appears along the right edge once the value is taller than the field. Default true.
scrollbarThickness?: numberScrollbar width in pixels. Default 10.
Text style overrides on top of the surface skin's.
value?: stringInitial value. Default ''.
width?: numberVisible width in pixels. Default 200.
wrap?: booleanWhether a line too long for the field breaks at a word boundary instead of scrolling horizontally. Default true.
Source