igniteui-angular
Version:
Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps
31 lines (30 loc) • 935 B
TypeScript
import { IScrollStrategy } from './IScrollStrategy';
import { IgxOverlayService } from '../overlay';
export declare abstract class ScrollStrategy implements IScrollStrategy {
constructor();
/**
* Initializes the strategy. Should be called once
*
* @param document reference to Document object.
* @param overlayService IgxOverlay service to use in this strategy.
* @param id Unique id for this strategy.
* ```typescript
* settings.scrollStrategy.initialize(document, overlay, id);
* ```
*/
abstract initialize(document: Document, overlayService: IgxOverlayService, id: string): any;
/**
* Attaches the strategy
* ```typescript
* settings.scrollStrategy.attach();
* ```
*/
abstract attach(): void;
/**
* Detaches the strategy
* ```typescript
* settings.scrollStrategy.detach();
* ```
*/
abstract detach(): void;
}