UNPKG

ngx-category-scroll

Version:

An Angular component for smooth scrollable category navigation with section sync.

26 lines (25 loc) 1.41 kB
import { ElementRef, EventEmitter, OnChanges, QueryList, SimpleChanges, TemplateRef } from '@angular/core'; import * as i0 from "@angular/core"; export declare class NgxCategoryScroll implements OnChanges { ngOnChanges(changes: SimpleChanges): void; template: TemplateRef<any>; categories: any; selectedIndex: number; isCategoryClick: boolean; bottomListRef: ElementRef; sectionRefs: QueryList<ElementRef>; topItemRefs: QueryList<ElementRef>; container: ElementRef; listContainerCss: string; categoryContainerCss: string; selectedCategory: EventEmitter<any>; selectedItem: EventEmitter<any>; visibilityMap: Map<HTMLElement, number>; observer: any; ngAfterViewInit(): void; addObserver(): void; scrollToCategory(category: any, index: number): void; inView(cat: any, index: number): void; static ɵfac: i0.ɵɵFactoryDeclaration<NgxCategoryScroll, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NgxCategoryScroll, "ngx-category-scroll", never, { "template": { "alias": "template"; "required": false; }; "categories": { "alias": "data"; "required": false; }; "listContainerCss": { "alias": "listContainerCss"; "required": false; }; "categoryContainerCss": { "alias": "categoryContainerCss"; "required": false; }; }, { "selectedCategory": "selectedCategory"; "selectedItem": "selectedItem"; }, never, never, true, never>; }