projects/m2-core/src/lib/shared/ui-components/input/model/ContenteditableInput.ts
Properties |
|
Methods |
|
Inputs |
Outputs |
Accessors |
| placeholder |
Type : string
|
| readonly |
Type : boolean
|
| text |
Type : string
|
| textChange |
Type : EventEmitter
|
| Public focus | ||||||
focus(options?: FocusOptions)
|
||||||
|
Parameters :
Returns :
void
|
| onBlur | ||||||
onBlur(event: FocusEvent)
|
||||||
|
Parameters :
Returns :
void
|
| onFocus | ||||||
onFocus(event: Event)
|
||||||
|
Parameters :
Returns :
void
|
| onMousedown |
onMousedown()
|
|
Returns :
void
|
| Protected restoreSelection | ||||||
restoreSelection(savedSelection: TextSelection)
|
||||||
|
Parameters :
Returns :
void
|
| Protected Abstract updateView |
updateView()
|
|
Returns :
void
|
| contenteditableRef |
Type : ElementRef<HTMLElement>
|
Decorators :
@ViewChild('contenteditableRef', {static: true})
|
| Protected hasJustBeenEdited |
Type : boolean
|
| Protected Optional prevSelection |
Type : TextSelection
|
| textValue |
Type : string
|
Default value : ''
|
| text | ||||||
gettext()
|
||||||
settext(value: string)
|
||||||
|
Parameters :
Returns :
void
|
| contenteditable |
getcontenteditable()
|