TextInputTemplate
Extends:
js/template/template/Template.js~Template → TextInputTemplate
Constructor Summary
Public Constructor | ||
public |
constructor(type: TextInputType, placeholder: string, opts: Object) A group of label and the input |
Member Summary
Public Members | ||
public |
|
|
public |
If is owned by another style manager |
|
public |
If to fill width |
|
public get |
|
|
public |
Value of the input |
Method Summary
Public Methods | ||
public |
didLoad() |
|
public |
Sets focus |
|
public |
observeFocus(): Observable Observes the focus of the text input. |
|
public |
observeValue(): Observable Observes the value of the text input. |
Public Constructors
public constructor(type: TextInputType, placeholder: string, opts: Object) source
A group of label and the input
Params:
Name | Type | Attribute | Description |
type | TextInputType | ||
placeholder | string | ||
opts | Object | ||
opts.classes | string | Additional classes |
|
opts.autofocus | boolean |
|
|
opts.initialValue | string |
|
Starting value |
opts.autocomplete | boolean |
|
|
opts.isOwned | boolean |
|
If the wrapper elem manages styles |
opts.isWide | boolean |
|
If the text input should fill width. |