UNPKG

@syncfusion/ej2-richtexteditor

Version:
56 lines (52 loc) 1.35 kB
import { IRichTextEditor } from '../base/interface'; import { ServiceLocator } from '../services/service-locator'; import { RendererFactory } from '../services/renderer-factory'; /** * `Count` module is used to handle Count actions. */ export declare class Count { protected parent: IRichTextEditor; protected maxLength: number; protected htmlLength: number; protected locator: ServiceLocator; protected renderFactory: RendererFactory; private editPanel; private contentModule; private contentRenderer; private args; private element; private isDestroyed; constructor(parent?: IRichTextEditor, serviceLocator?: ServiceLocator); private initializeInstance; /** * renderCount method * * @returns {void} * @hidden */ renderCount(): void; private appendCount; private charCountBackground; /** * @returns {void} * @hidden */ refresh(): void; /** * Destroys the Count. * * @function destroy * @returns {void} * @hidden */ destroy(): void; private toggle; protected addEventListener(): void; protected removeEventListener(): void; /** * For internal use only - Get the module name. * * @returns {string} - returns the string value */ private getModuleName; }