Ionic 2 Flipbook like Turn Js

若如初见. 提交于 2019-12-10 15:07:16

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!