packages/components/externals/quill/quill-editor.component.ts
AfterViewInit
ControlValueAccessor
OnChanges
OnDestroy
Validator
| encapsulation | ViewEncapsulation.None |
| providers |
)
)
|
| selector | quill-editor |
| template | |
Properties |
Methods |
Inputs |
Outputs |
| bounds |
Type : HTMLElement | string
|
| customOptions |
Type : CustomOption[]
|
Default value : []
|
| customToolbarPosition |
Type : "top" | "bottom"
|
Default value : 'top'
|
| debug |
Type : "warn" | "log" | "error" | unknown
|
| format |
Type : "object" | "html" | "text" | "json"
|
| formats |
Type : string[] | null
|
| hasImageFeature |
Type : boolean
|
| id |
Type : string
|
| maxLength |
Type : number
|
| minLength |
Type : number
|
| modules |
Type : QuillModules
|
| placeholder |
Type : string
|
| preserveWhitespace |
Type : boolean
|
Default value : false
|
| readOnly |
Type : boolean
|
| required |
Type : boolean
|
Default value : false
|
| sanitize |
Type : boolean
|
Default value : false
|
| scrollingContainer |
Type : HTMLElement | string | null
|
| strict |
Type : boolean
|
Default value : true
|
| styles |
Type : any
|
Default value : null
|
| theme |
Type : string
|
| trackChanges |
Type : "user" | "all"
|
| onBlur |
Type : EventEmitter<literal type>
|
| onContentChanged |
Type : EventEmitter<ContentChange>
|
| onEditorCreated |
Type : EventEmitter<any>
|
| onFocus |
Type : EventEmitter<literal type>
|
| onSelectionChanged |
Type : EventEmitter<SelectionChange>
|
| onModelChange | ||||||
onModelChange(_modelValue?: any)
|
||||||
|
Parameters :
Returns :
void
|
| onModelTouched |
onModelTouched()
|
|
Returns :
void
|
| registerOnChange | ||||||
registerOnChange(fn: (modelValue: any) => void)
|
||||||
|
Parameters :
Returns :
void
|
| registerOnTouched | ||||||
registerOnTouched(fn: () => void)
|
||||||
|
Parameters :
Returns :
void
|
| setDisabledState | ||||||||
setDisabledState(isDisabled: boolean)
|
||||||||
|
Parameters :
Returns :
void
|
| validate |
validate()
|
|
Returns :
any
|
| writeValue | ||||||
writeValue(currentValue: any)
|
||||||
|
Parameters :
Returns :
void
|
| content |
Type : any
|
| editorElem |
Type : HTMLElement | undefined
|
| quillEditor |
Type : any
|
| selectionChangeHandler |
Type : unknown
|
Default value : () => {...}
|
| textChangeHandler |
Type : unknown
|
Default value : () => {...}
|