Andrea Gherardi fd058cfa8c Update readme
2017-01-16 16:32:18 +01:00
2012-05-10 17:09:00 -04:00
2016-12-20 17:15:21 +01:00
r3
2012-04-02 01:08:02 -04:00
2016-12-20 17:51:42 +01:00
2012-05-10 17:09:00 -04:00
2017-01-16 16:32:18 +01:00
2017-01-16 16:32:18 +01:00
2016-12-20 17:15:03 +01:00

A fork of https://github.com/blasten/turn.js with support for npm/yarn.

Usage:

import $ from 'jquery';
import 'turn.js';

$('#flipbook').turn({
  width: 800,
  height: 600,
  autoCenter: true
  // ... plus any extra option you need
});

Basically I just added a package.json file and specified a main entry point + a dependency (jquery) to make turn.js installable via npm/yarn.

I have submitted a PR to the authors of https://github.com/blasten/turn.js but in the meantime you can use this one, as they don't seem to update their repo regularly.

Latest version uses jQuery 1.12.0 because jQuery 3.x was breaking the page flipper.

Description
No description provided
Readme 21 MiB
Languages
JavaScript 100%