2

I am not so into JavaScript and I am very new in Angular 2 (I came from Java).

I need to create an Angular 2 webapp that contains something like a book effect (where the user can turn the pages and see the next content).

Something like turnjs, this: http://www.turnjs.com/

Am I asking if this turnjs is easily integrable into an Angular 2 application or if there is something better\easier to use.

What do you suggest me?

AndreaNobili
  • 40,955
  • 107
  • 324
  • 596
  • 1
    `$("#flipbook").turn()`... it's a jQuery plugin. So it won't work in Angular. And NO, I know what you're thinking, don't use jQuery and Angular together. – Jeremy Thille Aug 10 '17 at 12:27
  • @JeremyThille Ok !!! So what can I use to obtain an effect like this using Angular 2? – AndreaNobili Aug 10 '17 at 12:29
  • I don't know, I've never had to make a flipbook with Angular yet :) – Jeremy Thille Aug 10 '17 at 12:29
  • @JeremyThille And using something like this? https://www.npmjs.com/package/angular-turnjs – AndreaNobili Aug 10 '17 at 12:34
  • I know that turnjs is JQuery but here it seems that it is "embedded" into an Angular object, is it so bad? https://stackoverflow.com/questions/43195469/ionic-2-flipbook-like-turn-js – AndreaNobili Aug 10 '17 at 12:35
  • `angular-turnJS` is for AngularJS (aka Angular 1), not for Angular 2+. – Jeremy Thille Aug 10 '17 at 12:36
  • https://www.html5rocks.com/en/tutorials/casestudies/20things_pageflip/ above site uses javascript for turning pages .. i used for my online diary project works fine – Geetesh Oct 26 '18 at 10:17

0 Answers0