UNPKG

ngx-owl-carousel-o

Version:
66 lines (65 loc) 2.05 kB
import { LocationStrategy } from '@angular/common'; import { ElementRef, OnChanges, OnDestroy, Renderer2 } from '@angular/core'; import { Router, ActivatedRoute, UrlTree } from '@angular/router'; export declare type QueryParamsHandling = 'merge' | 'preserve' | ''; export declare class OwlRouterLinkDirective { private router; private route; queryParams: { [k: string]: any; }; fragment: string; queryParamsHandling: QueryParamsHandling; preserveFragment: boolean; skipLocationChange: boolean; replaceUrl: boolean; stopLink: boolean; private commands; private preserve; constructor(router: Router, route: ActivatedRoute, tabIndex: string, renderer: Renderer2, el: ElementRef); owlRouterLink: any[] | string; /** * @deprecated 4.0.0 use `queryParamsHandling` instead. */ preserveQueryParams: boolean; onClick(): boolean; readonly urlTree: UrlTree; } /** * @description * * Lets you link to specific routes in your app. * * See `RouterLink` for more information. * * @ngModule RouterModule * * @publicApi */ export declare class OwlRouterLinkWithHrefDirective implements OnChanges, OnDestroy { private router; private route; private locationStrategy; target: string; queryParams: { [k: string]: any; }; fragment: string; queryParamsHandling: QueryParamsHandling; preserveFragment: boolean; skipLocationChange: boolean; replaceUrl: boolean; stopLink: boolean; private commands; private subscription; private preserve; href: string; constructor(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy); owlRouterLink: any[] | string; preserveQueryParams: boolean; ngOnChanges(changes: {}): any; ngOnDestroy(): any; onClick(button: number, ctrlKey: boolean, metaKey: boolean, shiftKey: boolean): boolean; private updateTargetUrlAndHref; readonly urlTree: UrlTree; }