[9:7] extends: object
Represents a base class for text input controls, providing methods for setting and getting text, as well as handling text change events.
setText (string Text
)
Sets the text content of the text input control.
Text
is a string to set as the current content of the control.this
object for chaininggetText ()
Retrieves the current text content of the text input control.
A
string with the current text in the control.onChange (callback OnChange
)
Sets a callback function that triggers when the text content changes.
OnChange
The callback function for handling text change events.this
object for chaining