import { ElementRef } from '@angular/core'; import { ProvidersService } from 'fccore2'; import { FcComponent } from '../fc'; import { Router } from '@angular/router'; /** * fc-fastposition快速定位 * * 快速定位组件。 * * 根据锚点,点击调到指定位置。 * * 事件: * * 1.选中事件:selected * */ export declare class FcfastpositionComponent extends FcComponent { provider: ProvidersService; elementRef: ElementRef; router: Router; /** 标题*/ fcTitle: string; /** 距顶部触发*/ fcOffsetTop: number; /** 边界*/ fcBounds: number; /**5px*/ /** 关联关系*/ fcAppLinks: any[]; /** 链接*/ fcLinks: FcfastpositionOption[]; /**背景颜色*/ fcBgcolor: string; private doc; /**展開收起*/ fcOpen: boolean; /**点击选中*/ fcSelected: string; constructor(provider: ProvidersService, elementRef: ElementRef, doc: any, router: Router); ngOnChanges(param: any): void; ngAfterViewInit(): void; /** * * @param item 选中Id */ _select(item: any): void; /** * * @param item 点击Id */ _isActive(item: any): boolean; /** * 滚动锚点 * * @param location 元素id * @param wait 等待毫秒数 */ _toAnchor(location: string, wait: number): void; /** * 展开 * * @param */ _toggle($event: any): void; } export interface FcfastpositionOption { label?: string; href?: string; }