@rangertechnologies/ngnxt
Version:
This library was used for creating dymanic UI based on the input JSON/data
30 lines (29 loc) • 1.66 kB
TypeScript
import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
import { I18nService } from '../../i18n.service';
import { Subscription } from 'rxjs';
import { ChangeService } from '../../services/change.service';
import { QuillModules } from 'ngx-quill';
import * as i0 from "@angular/core";
export declare const QuillConfiguration: QuillModules;
export declare class CustomRichTextComponent implements OnInit, OnDestroy {
i18nService: I18nService;
private changeService;
value: any | any[];
placeholder: string;
error: any;
question: any;
rows: Number;
readOnly: boolean;
textValueChange: EventEmitter<string>;
minLength?: number;
maxLength?: number;
quillConfiguration: QuillModules;
subscription: Subscription;
constructor(i18nService: I18nService, changeService: ChangeService);
ngOnInit(): void;
private initializeDependency;
onEditorFocusOut(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<CustomRichTextComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CustomRichTextComponent, "app-custom-rich-text", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "error": { "alias": "error"; "required": false; }; "question": { "alias": "question"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; }, { "textValueChange": "textValueChange"; }, never, never, true, never>;
}