ngx-ui-tour-md-menu
Version:
UI tour library for Angular 12+
25 lines (24 loc) • 1.21 kB
TypeScript
import { ElementRef, type OnDestroy, type OnInit } from '@angular/core';
import type { TourAnchorDirective } from 'ngx-ui-tour-core';
import type { Subscription } from 'rxjs';
import { TourAnchorOpenerComponent } from './tour-anchor-opener.component';
import type { IMdStepOption } from './step-option.interface';
import * as i0 from "@angular/core";
export declare class TourAnchorMatMenuDirective implements OnInit, OnDestroy, TourAnchorDirective {
tourAnchor: string;
opener: TourAnchorOpenerComponent;
menuCloseSubscription: Subscription;
isActive: import("@angular/core").WritableSignal<boolean>;
readonly element: ElementRef<any>;
private readonly viewContainer;
private readonly tourService;
private readonly tourStepTemplate;
ngOnInit(): void;
ngOnDestroy(): void;
private createOpener;
showTourStep(step: IMdStepOption): void;
private setPosition;
hideTourStep(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TourAnchorMatMenuDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<TourAnchorMatMenuDirective, "[tourAnchor]", never, { "tourAnchor": { "alias": "tourAnchor"; "required": false; }; }, {}, never, never, true, never>;
}