` element, or to `.viewport` sub-element of flipbook.
If the size is horizontally long and `singlePage` prop is `false` (default), it displays two pages spread, suitable for desktop browsers.
If it's vertically long, it displays single pages, suitable for smartphones.
There are some internal classes.
### `.viewport`
A `` element that contains everything but ``.
`` is placed above `.viewport`.
### `.bounding-box`
Approximate bounding box of the displayed images.
Suitable to give `box-shadow`.
## Browser support
Supports modern browsers and IE 11.
## Development
To start development server with demo pages:
```
cd examples/demo
pnpm i
pnpm serve
```
To package for npm:
```
pnpm dist
```
## Credits
- vivekKodira: README correction
- siderisng: `dragToFlip`
- MaikoTan: TypeScript support
## License
MIT
Copyright © 2019-2023 Takeshi Sone.