@ynmstudio/utils
Version:
YNM Utilities for Angular
25 lines (24 loc) • 1.28 kB
TypeScript
import { ModuleWithProviders } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@ynmstudio/utils/inviewport";
import * as i2 from "./scroll-spy-section/scroll-spy-section.directive";
import * as i3 from "./scroll-spy/scroll-spy.directive";
import * as i4 from "./scroll-spy-item/scroll-spy-item.directive";
/**
* A simple lightweight library for Angular which automatically
* updates links to indicate the currently active section in the viewport
*
*/
export declare class ScrollSpyModule {
/**
* Specify a static method for root module to ensure providers are
* only provided once but allows the module to still be imported
* into other modules without reproviding services.
*
* @memberof ScrollSpyModule
*/
static forRoot(): ModuleWithProviders<ScrollSpyModule>;
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollSpyModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<ScrollSpyModule, never, [typeof i1.InViewportDirective, typeof i2.ScrollSpySectionDirective, typeof i3.ScrollSpyDirective, typeof i4.ScrollSpyItemDirective], [typeof i3.ScrollSpyDirective, typeof i4.ScrollSpyItemDirective, typeof i2.ScrollSpySectionDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<ScrollSpyModule>;
}