ngx-quill
- Version 28.0.1
- Published
- 174 kB
- 1 dependency
- MIT license
Install
npm i ngx-quillyarn add ngx-quillpnpm add ngx-quillOverview
Angular components for the easy use of the QuillJS richt text editor.
Index
Classes
QuillEditorBase
- addClasses()
- beforeRender
- bounds
- classes
- compareValues
- content
- customModules
- customOptions
- customToolbarPosition
- debounceTime
- debug
- defaultEmptyValue
- disabled
- editorChangeHandler
- editorElem
- filterNull
- format
- formats
- linkPlaceholder
- maxLength
- minLength
- modules
- ngAfterViewInit()
- ngOnChanges()
- ngOnInit()
- normalizeClassNames()
- onBlur
- onContentChanged
- onEditorChanged
- onEditorCreated
- onFocus
- onModelChange
- onModelTouched
- onNativeBlur
- onNativeFocus
- onSelectionChanged
- onValidatorChanged
- ɵdir
- ɵfac
- placeholder
- quillEditor
- readOnly
- registerOnChange()
- registerOnTouched()
- registerOnValidatorChange()
- registry
- removeClasses()
- required
- sanitize
- selectionChangeHandler
- setDisabledState()
- styles
- textChangeHandler
- theme
- toolbarPosition
- trackChanges
- trimOnValidation
- validate()
- valueGetter
- valueSetter
- writeValue()
Interfaces
Type Aliases
Classes
class QuillEditorBase
abstract class QuillEditorBase implements AfterViewInit, ControlValueAccessor, OnChanges, OnInit, Validator {}constructor
constructor();property beforeRender
readonly beforeRender: _angular_core.InputSignal<QuillBeforeRender>;property bounds
readonly bounds: _angular_core.InputSignal<string | HTMLElement>;property classes
readonly classes: _angular_core.InputSignal<string>;property compareValues
readonly compareValues: _angular_core.InputSignal<boolean>;property content
content: any;property customModules
readonly customModules: _angular_core.InputSignal<CustomModule[]>;property customOptions
readonly customOptions: _angular_core.InputSignal<CustomOption[]>;property customToolbarPosition
readonly customToolbarPosition: _angular_core.InputSignal<'top' | 'bottom'>;property debounceTime
readonly debounceTime: _angular_core.InputSignal<number>;property debug
readonly debug: _angular_core.InputSignal<false | 'error' | 'warn' | 'log'>;property defaultEmptyValue
readonly defaultEmptyValue: _angular_core.InputSignal<any>;property disabled
disabled: boolean;property editorChangeHandler
editorChangeHandler: ( event: 'text-change' | 'selection-change', current: any | Range | null, old: any | Range | null, source: string) => void;property editorElem
editorElem: HTMLElement;property filterNull
readonly filterNull: _angular_core.InputSignal<boolean>;property format
readonly format: _angular_core.InputSignal<'object' | 'json' | 'html' | 'text'>;property formats
readonly formats: _angular_core.InputSignal<string[]>;property linkPlaceholder
readonly linkPlaceholder: _angular_core.InputSignal<string>;property maxLength
readonly maxLength: _angular_core.InputSignal<number>;property minLength
readonly minLength: _angular_core.InputSignal<number>;property modules
readonly modules: _angular_core.InputSignal<QuillModules>;property onBlur
onBlur: EventEmitter<Blur>;property onContentChanged
onContentChanged: EventEmitter<ContentChange>;property onEditorChanged
onEditorChanged: EventEmitter<EditorChangeContent | EditorChangeSelection>;property onEditorCreated
onEditorCreated: EventEmitter<QuillType>;property onFocus
onFocus: EventEmitter<Focus>;property onModelChange
onModelChange: (modelValue?: any) => void;property onModelTouched
onModelTouched: () => void;property onNativeBlur
onNativeBlur: EventEmitter<Blur>;property onNativeFocus
onNativeFocus: EventEmitter<Focus>;property onSelectionChanged
onSelectionChanged: EventEmitter<SelectionChange>;property onValidatorChanged
onValidatorChanged: () => void;property ɵdir
static ɵdir: _angular_core.ɵɵDirectiveDeclaration< QuillEditorBase, never, never, { format: { alias: 'format'; required: false; isSignal: true }; theme: { alias: 'theme'; required: false; isSignal: true }; modules: { alias: 'modules'; required: false; isSignal: true }; debug: { alias: 'debug'; required: false; isSignal: true }; readOnly: { alias: 'readOnly'; required: false; isSignal: true }; placeholder: { alias: 'placeholder'; required: false; isSignal: true }; maxLength: { alias: 'maxLength'; required: false; isSignal: true }; minLength: { alias: 'minLength'; required: false; isSignal: true }; required: { alias: 'required'; required: false; isSignal: true }; formats: { alias: 'formats'; required: false; isSignal: true }; customToolbarPosition: { alias: 'customToolbarPosition'; required: false; isSignal: true; }; sanitize: { alias: 'sanitize'; required: false; isSignal: true }; beforeRender: { alias: 'beforeRender'; required: false; isSignal: true }; styles: { alias: 'styles'; required: false; isSignal: true }; registry: { alias: 'registry'; required: false; isSignal: true }; bounds: { alias: 'bounds'; required: false; isSignal: true }; customOptions: { alias: 'customOptions'; required: false; isSignal: true; }; customModules: { alias: 'customModules'; required: false; isSignal: true; }; trackChanges: { alias: 'trackChanges'; required: false; isSignal: true }; classes: { alias: 'classes'; required: false; isSignal: true }; trimOnValidation: { alias: 'trimOnValidation'; required: false; isSignal: true; }; linkPlaceholder: { alias: 'linkPlaceholder'; required: false; isSignal: true; }; compareValues: { alias: 'compareValues'; required: false; isSignal: true; }; filterNull: { alias: 'filterNull'; required: false; isSignal: true }; debounceTime: { alias: 'debounceTime'; required: false; isSignal: true }; defaultEmptyValue: { alias: 'defaultEmptyValue'; required: false; isSignal: true; }; valueGetter: { alias: 'valueGetter'; required: false; isSignal: true }; valueSetter: { alias: 'valueSetter'; required: false; isSignal: true }; }, { onEditorCreated: 'onEditorCreated'; onEditorChanged: 'onEditorChanged'; onContentChanged: 'onContentChanged'; onSelectionChanged: 'onSelectionChanged'; onFocus: 'onFocus'; onBlur: 'onBlur'; onNativeFocus: 'onNativeFocus'; onNativeBlur: 'onNativeBlur'; }, never, never, true, never>;property ɵfac
static ɵfac: _angular_core.ɵɵFactoryDeclaration<QuillEditorBase, never>;property placeholder
readonly placeholder: _angular_core.InputSignal<string>;property quillEditor
quillEditor: QuillType;property readOnly
readonly readOnly: _angular_core.InputSignal<boolean>;property registry
readonly registry: _angular_core.InputSignal<parchment.Registry>;property required
readonly required: _angular_core.InputSignal<boolean>;property sanitize
readonly sanitize: _angular_core.InputSignal<boolean>;property selectionChangeHandler
selectionChangeHandler: ( range: Range | null, oldRange: Range | null, source: string) => void;property styles
readonly styles: _angular_core.InputSignal<any>;property textChangeHandler
textChangeHandler: ( delta: DeltaType, oldDelta: DeltaType, source: string) => void;property theme
readonly theme: _angular_core.InputSignal<string>;property toolbarPosition
readonly toolbarPosition: _angular_core.WritableSignal<string>;property trackChanges
readonly trackChanges: _angular_core.InputSignal<'user' | 'all'>;property trimOnValidation
readonly trimOnValidation: _angular_core.InputSignal<boolean>;property valueGetter
valueGetter: _angular_core.InputSignal<(quillEditor: QuillType) => string | any>;property valueSetter
valueSetter: _angular_core.InputSignal< (quillEditor: QuillType, value: any) => any>;method addClasses
addClasses: (classList: string) => void;method ngAfterViewInit
ngAfterViewInit: () => void;method ngOnChanges
ngOnChanges: (changes: SimpleChanges) => void;method ngOnInit
ngOnInit: () => void;method normalizeClassNames
static normalizeClassNames: (classes: string) => string[];method registerOnChange
registerOnChange: (fn: (modelValue: any) => void) => void;method registerOnTouched
registerOnTouched: (fn: () => void) => void;method registerOnValidatorChange
registerOnValidatorChange: (fn: () => void) => void;method removeClasses
removeClasses: (classList: string) => void;method setDisabledState
setDisabledState: (isDisabled?: boolean) => void;method validate
validate: () => { minLengthError?: { given: number; minLength: number }; maxLengthError?: { given: number; maxLength: number }; requiredError?: { empty: boolean };};method writeValue
writeValue: (currentValue: any) => void;class QuillEditorComponent
class QuillEditorComponent extends QuillEditorBase {}property ɵcmp
static ɵcmp: _angular_core.ɵɵComponentDeclaration< QuillEditorComponent, 'quill-editor', never, {}, {}, never, [ '[above-quill-editor-toolbar]', '[quill-editor-toolbar]', '[below-quill-editor-toolbar]' ], true, never>;property ɵfac
static ɵfac: _angular_core.ɵɵFactoryDeclaration<QuillEditorComponent, never>;class QuillModule
class QuillModule {}property ɵfac
static ɵfac: _angular_core.ɵɵFactoryDeclaration<QuillModule, never>;property ɵinj
static ɵinj: _angular_core.ɵɵInjectorDeclaration<QuillModule>;property ɵmod
static ɵmod: _angular_core.ɵɵNgModuleDeclaration< QuillModule, never, [ typeof QuillEditorComponent, typeof QuillViewComponent, typeof QuillViewHTMLComponent ], [ typeof QuillEditorComponent, typeof QuillViewComponent, typeof QuillViewHTMLComponent ]>;method forRoot
static forRoot: (config?: QuillConfig) => ModuleWithProviders<QuillModule>;class QuillService
class QuillService {}class QuillViewComponent
class QuillViewComponent implements AfterViewInit, OnChanges {}property beforeRender
readonly beforeRender: _angular_core.InputSignal<QuillBeforeRender>;property content
readonly content: _angular_core.InputSignal<any>;property customModules
readonly customModules: _angular_core.InputSignal<CustomModule[]>;property customOptions
readonly customOptions: _angular_core.InputSignal<CustomOption[]>;property debug
readonly debug: _angular_core.InputSignal<false | 'error' | 'warn' | 'log'>;property editorElem
editorElem: HTMLElement;property format
readonly format: _angular_core.InputSignal<'object' | 'json' | 'html' | 'text'>;property formats
readonly formats: _angular_core.InputSignal<string[]>;property modules
readonly modules: _angular_core.InputSignal<QuillModules>;property onEditorCreated
onEditorCreated: EventEmitter<any>;property ɵcmp
static ɵcmp: _angular_core.ɵɵComponentDeclaration< QuillViewComponent, 'quill-view', never, { format: { alias: 'format'; required: false; isSignal: true }; theme: { alias: 'theme'; required: false; isSignal: true }; modules: { alias: 'modules'; required: false; isSignal: true }; debug: { alias: 'debug'; required: false; isSignal: true }; formats: { alias: 'formats'; required: false; isSignal: true }; sanitize: { alias: 'sanitize'; required: false; isSignal: true }; beforeRender: { alias: 'beforeRender'; required: false; isSignal: true }; strict: { alias: 'strict'; required: false; isSignal: true }; content: { alias: 'content'; required: false; isSignal: true }; customModules: { alias: 'customModules'; required: false; isSignal: true; }; customOptions: { alias: 'customOptions'; required: false; isSignal: true; }; }, { onEditorCreated: 'onEditorCreated' }, never, never, true, never>;property ɵfac
static ɵfac: _angular_core.ɵɵFactoryDeclaration<QuillViewComponent, never>;property quillEditor
quillEditor: QuillType;property sanitize
readonly sanitize: _angular_core.InputSignal<boolean>;property strict
readonly strict: _angular_core.InputSignal<boolean>;property theme
readonly theme: _angular_core.InputSignal<string>;property valueSetter
valueSetter: (quillEditor: QuillType, value: any) => any;method ngAfterViewInit
ngAfterViewInit: () => void;method ngOnChanges
ngOnChanges: (changes: SimpleChanges) => void;class QuillViewHTMLComponent
class QuillViewHTMLComponent implements OnChanges {}property content
readonly content: _angular_core.InputSignal<string>;property innerHTML
readonly innerHTML: _angular_core.WritableSignal<SafeHtml>;property ɵcmp
static ɵcmp: _angular_core.ɵɵComponentDeclaration< QuillViewHTMLComponent, 'quill-view-html', never, { content: { alias: 'content'; required: false; isSignal: true }; theme: { alias: 'theme'; required: false; isSignal: true }; sanitize: { alias: 'sanitize'; required: false; isSignal: true }; }, {}, never, never, true, never>;property ɵfac
static ɵfac: _angular_core.ɵɵFactoryDeclaration<QuillViewHTMLComponent, never>;property sanitize
readonly sanitize: _angular_core.InputSignal<boolean>;property theme
readonly theme: _angular_core.InputSignal<string>;property themeClass
readonly themeClass: _angular_core.WritableSignal<string>;method ngOnChanges
ngOnChanges: (changes: SimpleChanges) => void;Interfaces
interface ContentChange
interface ContentChange {}interface SelectionChange
interface SelectionChange {}Type Aliases
type EditorChangeContent
type EditorChangeContent = ContentChange & { event: 'text-change';};type EditorChangeSelection
type EditorChangeSelection = SelectionChange & { event: 'selection-change';};Package Files (1)
Dependencies (1)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (3)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/ngx-quill.
- Markdown[](https://www.jsdocs.io/package/ngx-quill)
- HTML<a href="https://www.jsdocs.io/package/ngx-quill"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3606 ms. - Missing or incorrect documentation? Open an issue for this package.
