mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
30 lines
656 B
TypeScript
30 lines
656 B
TypeScript
import { CommonModule } from '@angular/common';
|
|
import { NgModule, ModuleWithProviders } from '@angular/core';
|
|
|
|
import { InfiniteScroll } from './infinite-scroll';
|
|
import { InfiniteScrollContent } from './infinite-scroll-content';
|
|
|
|
import { SpinnerModule } from '../spinner/spinner.module';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
SpinnerModule
|
|
],
|
|
declarations: [
|
|
InfiniteScroll,
|
|
InfiniteScrollContent
|
|
],
|
|
exports: [
|
|
InfiniteScroll,
|
|
InfiniteScrollContent
|
|
]
|
|
})
|
|
export class InfiniteScrollModule {
|
|
public static forRoot(): ModuleWithProviders {
|
|
return {
|
|
ngModule: InfiniteScrollModule, providers: []
|
|
};
|
|
}
|
|
}
|