|
docs
Community
Feedback
News
Guides
Searching With Coveo
Project Guide
Services
API Reference
JavaScript Search Framework
Headless
Push API
Field API
Search API
Usage Analytics API
Other APIs
Extensions
Coveo for Commerce
Coveo for Salesforce
Coveo for ServiceNow
Coveo for Sitecore
Filter
Inherited
Globals
Text
Input
build
get
Element
get
Input
get
Value
reset
set
Value
constructor
Globals
TextInput
Class TextInput
Index
Methods
build
get
Element
get
Input
get
Value
reset
set
Value
Constructors
constructor
Methods
build
build
(
)
:
HTMLElement
Returns
HTMLElement
The text input element.
get
Element
get
Element
(
)
:
HTMLElement
Returns
HTMLElement
The text input element.
get
Input
get
Input
(
)
:
HTMLInputElement
Returns
HTMLInputElement
The
input
element.
get
Value
get
Value
(
)
:
string
Returns
string
The text input current value.
reset
reset
(
)
:
void
Returns
void
set
Value
set
Value
(
value
:
string
)
:
void
Parameters
value:
string
Returns
void
Constructors
constructor
new
Text
Input
(
onChange
?:
function
, name
?:
string
, options
?:
ITextInputOptions
)
:
TextInput
Parameters
Default value
onChange:
function
= (textInput: TextInput) => {}
(
textInput
:
TextInput
)
:
void
Parameters
textInput:
TextInput
Returns
void
Optional
name:
string
Optional
options:
ITextInputOptions
Returns
TextInput
Hierarchy
TextInput
Implements
IFormWidget
IFormWidgetSettable