@duoduo-oba/ng-devui
Version:
DevUI components based on Angular
22 lines (21 loc) • 902 B
TypeScript
import { OnDestroy, OnInit } from '@angular/core';
import { AnchorDirective } from './anchor.directive';
import { AnchorBoxDirective } from './anchor-box.directive';
export declare class AnchorLinkDirective implements OnInit, OnDestroy {
readonly anchorActiveClass: string;
private _anchorName;
anchorName: string;
anchorActive: string;
boxElement: AnchorBoxDirective;
anchorBlock: AnchorDirective;
bindingAnchorTimer: any;
subscription: any;
constructor(box: AnchorBoxDirective);
ngOnInit(): void;
ngOnDestroy(): void;
subscribeAnchorMapChange(): void;
bindAnchorAfterBoxReady: () => void;
scrollToAnchor(): void;
scrollAnimate(target: any, currentTopValue: any, targetTopValue: any, timeGap?: number, scrollTime?: number, callback?: any): void;
easeInOutCubic(t: number, b: number, c: number, d: number): number;
}