9.0.0 • Published 4 years ago

ngx-flip v9.0.0

Weekly downloads
1,085
License
MIT
Repository
github
Last release
4 years ago

Simple Angular based plug and play Flip component

npm version GitHub pull requests GitHub stars GitHub License

now supported Angular 9+

Demo

Install it with npm

npm install ngx-flip --save

Usage

Import the Flip Module in your app.module.ts file

  
  import { FlipModule } from 'ngx-flip';
  // other imports 
  
  @NgModule({
    imports: [
      // other imports 
      FlipModule
    ],
    // ...
  })
  export class AppModule {}

Add selector in template file my-component.html

  <ngx-flip [flip]="flipDiv">
   <div front>Front</div>
   <div back>Back</div>
 </ngx-flip>
 
  Where
  flip : boolean variable => used to flip the front and back div
  <div front>Front</div> => Front div -- add 'front' as attribute to identify as front div
  <div back>Back</div> => Back div -- add 'back' as attribute to identify as back div

License

MIT

Running unit tests

coming soon.

Running end-to-end tests

coming soon.

Further help

Pull request always welcome!!!

9.0.0

4 years ago

7.1.0

5 years ago

7.0.3

5 years ago

7.0.2

5 years ago

7.0.1

5 years ago

7.0.0

5 years ago

6.1.1

6 years ago

6.1.0

6 years ago

6.0.2

6 years ago

6.0.1

6 years ago

6.0.0

6 years ago

1.0.0

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago