Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ionic 2 Flipbook like Turn Js

I am building an app for viewing deals with Ionic 2. I want to develop a flipbook which has to display image as a flipbook like in the following link

turnjs

I tried to implement this plugin in Ionic 2 app but was not successful. My questions are the following

  • Is there any plugin available?
  • How can I integrage turn js plugin to my Ionic2 app?(Any guidance)

Thanks in advance.

like image 402
Abdullah Feroz Avatar asked Oct 29 '22 09:10

Abdullah Feroz


1 Answers

https://www.npmjs.com/package/angular-turnjs

check out that link there for an angular based turn.js implementation. If you want to implement it into your application, build it out as you would but import turn js like this.

import * as turnJs from '../path/to/turnjs'

this will create a turnJS object that you can use to access the library, from there you should be able to use whatever you want from turn.js

like image 82
Caleb Swank Avatar answered Nov 15 '22 05:11

Caleb Swank