Examples/RTL

RTL

direction: 'rtl'. Pages turn the opposite way for right-to-left reading.

Source

import { Zine, ImageSource } from '@zinejs/core';

const book = new Zine(document.getElementById('book'), {
  source: new ImageSource([
    '/sample-images/page-01.png',
    '/sample-images/page-02.png',
    '/sample-images/page-03.png',
    // ... more pages
  ]),
  direction: 'rtl',
});