Input Text
LmnInputTextComponent
import { LmnInputTextComponent } from '@elemental/ui';
Decorators: |
|
Selectors: |
|
Extends: |
|
Implements: |
|
Properties
Name | Type | Description |
---|---|---|
allowClear r |
| If it is set to true, and both disabled and readonly are set to false, a "clear" button is displayed in the field whenever the field is not empty. |
attrId r |
| If it is defined, an id="[value]" attribute is added to the text input, otherwise a default id will be assigned. |
attrLang r |
| If it is defined, a lang="[value]" attribute is added to the text input. |
attrName r |
| If it is defined, a name="[value]" attribute is added to the text input. |
attrSpellCheck r |
| If defined and different from "auto", a spellcheck="[value]" attribute is added to the text input. |
autoComplete r |
| If it is defined, an autocomplete="[value]" attribute is added to the text input. |
clear r |
| Emits the value of the input text when the value changes. |
controlDirective r inherited from
|
| Represent the Angular Control associated with the component. |
dirty r inherited from
|
| Indicates if the control is dirty |
disabledMarker r |
| If it is defined and disabled is set to true, it is displayed as the disabled marker after the label (if visible) of the text input. |
disabledReason r |
| If it is defined and disabled is set to true, it is displayed as the content of the popover opened by the info button. |
disabledReasonTriggerAriaLabel r |
| The aria label to be applied to the "i" button displayed when the input is disabled. If not defined, disabledReasonTriggerTooltip is used instead. |
disabledReasonTriggerTooltip r |
| The label to be used in the tooltip applied on hover/focus to the "i" button displayed when the input text is disabled. |
hasError r inherited from
|
| Indicates if the control has errors |
hasVisualError r inherited from
|
| Indicates if the control has a visual error by checking the |
isDisabled r inherited from
|
| Indicates if the control is disabled |
language r |
| If it is defined, it is used as extended label for languageCode. |
languageCode r |
| If it is defined, it is displayed as the language marker after the label (if visible) of the text input. |
nativeElement r | HTMLElement | The native element of the component. |
negative r |
| It switches the component to its negative mode. |
placeholder r |
| If it is defined, a placeholder="[value]" attribute is added to the text input. |
readonly r |
| If it is set to true, a readonly="[value]" attribute is added to the text input. |
readonlyMarker r |
| If it is defined and readonly is set to true, it is displayed as the readonly marker after the label (if visible) of the text input. |
required r inherited from
|
| Indicates if the control is required |
requiredMarker r |
| If it is defined and required is set to true, it is displayed as the required marker after the label (if visible) of the text input. |
requiredTrue r inherited from
|
| Indicates if the control is true |
shape r |
| sets the shape of the control |
size r |
| sets the size of the control |
touched r inherited from
|
| Indicates if the control is touched |
value r |
| If it is defined, the value of the input text is set to the value of the input. When use the formControl, the value is managed by that. |
Methods
focus() |
---|
Focus the input text |
Presentation
|
Returnsvoid |
LmnInputTextContextualCustomDirective
import { LmnInputTextContextualCustomDirective } from '@elemental/ui';
Decorators: |
|
Selectors: | [ |
Properties
Name | Type | Description |
---|---|---|
nativeElement r | HTMLElement |
LmnInputLabelComponent
import { LmnInputLabelComponent } from '@elemental/ui';
Decorators: |
|
Selectors: | [ |
Properties
Name | Type | Description |
---|---|---|
nativeElement r | HTMLElement |
LmnInputHintComponent
import { LmnInputHintComponent } from '@elemental/ui';
Decorators: |
|
Selectors: | [ |
Properties
Name | Type | Description |
---|---|---|
nativeElement r | HTMLElement |
LmnInputErrorComponent
import { LmnInputErrorComponent } from '@elemental/ui';
Decorators: |
|
Selectors: |
|
Properties
Name | Type | Description |
---|---|---|
nativeElement r | HTMLElement | |
templateRef r |
|
LmnInputAlertComponent
import { LmnInputAlertComponent } from '@elemental/ui';
Decorators: |
|
Selectors: |
|
Properties
Name | Type | Description |
---|---|---|
nativeElement r | HTMLElement | |
templateRef r |
|