Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Avirtum

    (@avirtum)

    Hello Yes, it’s possible. I can provide a sample, but one question. Click on what?

    Plugin Author Avirtum

    (@avirtum)

    You can try this code inside the custom js section, it zooms the book after double click event on the book container

    const instance = this;
    const $ = jQuery;
    let index = 0;
    const zoom = [1, 2];
    
    instance.$container.on('dblclick', (e) => {
        index = index == 0 ? 1 : 0;
        instance._setZoom({zoom:zoom[index]}, true, false);
    });
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Zoom in/out on Click’ is closed to new replies.