applyViewPreset
Applies the provided preset properties to this object.
applyViewPreset(preset: View.ViewPreset<UIComponent, this, "placeholder" | "value" | "type" | "multiline" | "formField" | "enterKeyHint" | "disableSpellCheck" | "disabled" | "readOnly" | "width" | "style"> & { onChange?: string; onInput?: string; onCopy?: string; onCut?: string; onPaste?: string; }): void
Notes
- This method is called automatically. Do not call this method after constructing a UI component.
Related
- class UITextFieldA view class that represents a text field control.