new bbbfly.Memo (def, ref, parent)
Parameters
| Name | Type | Description |
|---|---|---|
| def | bbbfly.Memo.Definition | optional Descendant definition |
| ref | object | optional Reference owner |
| parent | object | string | optional Parent DIV element or it's ID |
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| Required | boolean | false | |
| MaxLength | integer | null | null |
Extends
- ngMemo
Implements
In Packages
Interfaces
Methods
-
SetFocusAfter ()
-
Focus memo with caret at the text end.
- See:
-
SetFocusBefore ()
-
Focus memo with caret at the text begining.
- See:
-
SetMaxLength (maxLength)
-
Parameters:
Name Type Default Description maxLength integer | null null optional Value to set -
SetRequired (required)
-
Parameters:
Name Type Default Description required boolean false optional Value to set -
Validate (){boolean}
-
Returns:
Type Description boolean If is valid -
ValidLength (){boolean}
-
Returns:
Type Description boolean If length is valid
Events
-
OnInvalidChanged ()
-