igniteui-angular-sovn
Version:
Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps
31 lines (27 loc) • 600 B
text/typescript
import { ScrollStrategy } from './scroll-strategy';
/**
* Empty scroll strategy. Does nothing.
*/
export class NoOpScrollStrategy extends ScrollStrategy {
constructor() {
super();
}
/**
* Initializes the strategy. Should be called once
*/
public initialize() { }
/**
* Detaches the strategy
* ```typescript
* settings.scrollStrategy.detach();
* ```
*/
public attach(): void { }
/**
* Detaches the strategy
* ```typescript
* settings.scrollStrategy.detach();
* ```
*/
public detach(): void { }
}