packages/eui/packages/components/eui-input-text/eui-input-text.component.ts
A custom input text component that extends InputDirective and provides additional functionality such as validation states, clearable input, and loading states.
OnInit
OnDestroy
DoCheck
HostDirectives |
EuiClearableDirective
Inputs : euiClearable readonly disabled
EuiLoadingDirective
Inputs : euiLoading readonly
|
selector | input[euiInputText] |
styleUrls | ./eui-input-text.scss |
Methods |
Inputs |
HostBindings |
Accessors |
isInvalid |
Type : boolean
|
disabled |
Type : boolean
|
euiDanger |
Type : boolean
|
Default value : false
|
euiDisabled |
Type : boolean
|
Default value : false
|
placeholder |
Type : string | null
|
readonly |
Type : any
|
class |
Type : string
|
getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
Parameters :
Returns :
string
|
class |
getclass()
|
Gets the CSS classes for the component, including validation state classes
Returns :
string
|
isInvalid | ||||||||
getisInvalid()
|
||||||||
Gets or sets the invalid state of the input When used with NgControl, this state is automatically managed based on control state
Returns :
boolean
|
||||||||
setisInvalid(state: BooleanInput)
|
||||||||
Parameters :
Returns :
void
|