Package Exports
- ngx-flip-flip
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ngx-flip-flip) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ngx-flip-flip
Angular Flip Flip - Angular full page scrolling components with no dependencies
Installation
NPM:
npm i ngx-flip-flip
Yarn:
yarn add ngx-flip-flip
Sample
Include NgxFlipFlipModule in your main module:
import { NgxFlipFlipModule } from 'ngx-flip-flip';
@NgModule({
// ...
imports: [
NgxFlipFlipModule.forRoot(),
],
// ...
})
export class AppModule { }Then use in your component:
import { Component } from '@angular/core';
@Component({
// ...
template: `
<ngx-flip-flip-wrapper>
<ngx-flip-flip-slide>1</ngx-flip-flip-slide>
<ngx-flip-flip-slide>2</ngx-flip-flip-slide>
// ...
</ngx-flip-flip-wrapper>
`,
})
export class SampleComponent implements OnInit {}