UNPKG

ngx-tiptap-editor

Version:

[![Build and Publish](https://github.com/HuiiBuh/ngx-tiptap-editor/actions/workflows/publish.yml/badge.svg)](https://github.com/HuiiBuh/ngx-tiptap-editor/actions/workflows/publish.yml) [![Deploy to Github Pages](https://github.com/HuiiBuh/ngx-tiptap-edito

19 lines (18 loc) 719 B
import { NgZone } from '@angular/core'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class TiptapEventService { private ngZone; private clickSubject; private keyboardSubject; private clickSubscription; private keyboardSubscription; update$: Observable<MouseEvent | KeyboardEvent>; onClick$: Observable<MouseEvent>; onKeyboard$: Observable<KeyboardEvent>; constructor(ngZone: NgZone); registerShortcut(shortcut: string): Observable<KeyboardEvent>; setElement(element: HTMLDivElement): void; static ɵfac: i0.ɵɵFactoryDeclaration<TiptapEventService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<TiptapEventService>; }