TextBox
Extends:
melon-core/InputComponent~InputComponent → TextBox
Constructor Summary
Public Constructor | ||
public |
constructor(props: *, context: *) |
Member Summary
Public Members | ||
public |
state: * |
Method Summary
Public Methods | ||
public |
|
|
public |
componentWillReceiveProps(nextProps: *) |
|
public |
needValidate(eventName: *): * |
|
public |
onBlur(e: *) |
|
public |
onChange(e: *) |
|
public |
onFocus(e: *) |
|
public |
render(): * |
|
public |
renderFloatingLabel(floatingLabel: *, isFloating: *, isFocus: *): * |
|
public |
|
Public Constructors
public constructor(props: *, context: *) source
Params:
Name | Type | Attribute | Description |
props | * | ||
context | * |
Public Members
public state: * source
Public Methods
public componentDidMount() source
public componentWillReceiveProps(nextProps: *) source
Params:
Name | Type | Attribute | Description |
nextProps | * |
public needValidate(eventName: *): * source
Params:
Name | Type | Attribute | Description |
eventName | * |
Return:
* |
public onBlur(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onChange(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onFocus(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public renderFloatingLabel(floatingLabel: *, isFloating: *, isFocus: *): * source
Params:
Name | Type | Attribute | Description |
floatingLabel | * | ||
isFloating | * | ||
isFocus | * |
Return:
* |