问题
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.
回答1:
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
来源:https://stackoverflow.com/questions/43195469/ionic-2-flipbook-like-turn-js