UNPKG

@o3r/components

Version:

This module contains component-related features (Component replacement, CMS compatibility, helpers, pipes, debugging developer tools...) It comes with an integrated ng builder to help you generate components compatible with Otter features (CMS integration

38 lines 1.26 kB
import { Observable } from 'rxjs'; import { OtterLikeComponentInfo } from './otter-inspector.helpers'; /** * Service to handle the custom inspector for the Otter Devtools Chrome extension. */ export declare class OtterInspectorService { private readonly angularDevTools; private readonly elementMouseOverCallback; private readonly elementClickCallback; private readonly cancelEventCallback; private selectedComponent; private inspectorDiv; private readonly otterLikeComponentInfoToBeSent; /** * Stream of component info to be sent to the extension app. */ otterLikeComponentInfoToBeSent$: Observable<OtterLikeComponentInfo | undefined>; constructor(); private startInspecting; private elementClick; private isOtterLikeComponent; private findComponentInfo; private elementMouseOver; private highlight; private unHighlight; private cancelEvent; /** * Prepare the inspector div and add it to the DOM. */ prepareInspector(): void; /** * Toggle the inspector. * @param isRunning true if the inspector is running */ toggleInspector(isRunning: boolean): void; stopInspecting(): void; } //# sourceMappingURL=otter-inspector.service.d.ts.map