ipsos-components
Version:
Material Design components for Angular
20 lines (17 loc) • 607 B
text/typescript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {ScrollStrategy} from './scroll-strategy';
/** Scroll strategy that doesn't do anything. */
export class NoopScrollStrategy implements ScrollStrategy {
/** Does nothing, as this scroll strategy is a no-op. */
enable() { }
/** Does nothing, as this scroll strategy is a no-op. */
disable() { }
/** Does nothing, as this scroll strategy is a no-op. */
attach() { }
}