ngx-tiptap
Version:
Angular bindings for tiptap v2
14 lines (13 loc) • 493 B
TypeScript
import { ElementRef, Injector, Type } from '@angular/core';
export declare class AngularRenderer<C, P> {
private applicationRef;
private componentRef;
constructor(ViewComponent: Type<C>, injector: Injector, props: Partial<P>);
get instance(): C;
get elementRef(): ElementRef;
get dom(): HTMLElement;
updateProps<T extends P>(props: Partial<T>): void;
updateAttributes(attributes: Record<string, string>): void;
detectChanges(): void;
destroy(): void;
}