mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
docs(input): update input docs
This commit is contained in:
@ -120,7 +120,7 @@ export class TextInput extends InputBase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @input {string} The text value of the input
|
||||
*/
|
||||
@Input()
|
||||
get value() {
|
||||
@ -142,7 +142,7 @@ export class TextInput extends InputBase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @input {bool} If the input should be disabled or not
|
||||
*/
|
||||
@Input()
|
||||
get disabled() {
|
||||
@ -305,12 +305,12 @@ export class TextArea extends InputBase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @input {string} The placeholder for the textarea
|
||||
*/
|
||||
@Input() placeholder: string = '';
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @input {string} The value of the textarea
|
||||
*/
|
||||
@Input()
|
||||
get value() {
|
||||
@ -332,7 +332,7 @@ export class TextArea extends InputBase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @input {bool} Wheather the textara should be disabled or not
|
||||
*/
|
||||
@Input()
|
||||
get disabled() {
|
||||
@ -367,12 +367,12 @@ export class TextArea extends InputBase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @output {event} Expression to call when the textarea no longer has focus
|
||||
*/
|
||||
@Output() blur: EventEmitter<Event> = new EventEmitter<Event>();
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @output {event} Expression to call when the textarea has focus
|
||||
*/
|
||||
@Output() focus: EventEmitter<Event> = new EventEmitter<Event>();
|
||||
|
||||
|
Reference in New Issue
Block a user