Skip to content

Custom buttons #62

Open
Open

Description

@adamprocter

Can I create my own buttons for previous and next on the page to control PDF in iframe ?
I dont want to use the overlay ?

Activity

  1. adityab commented on Jun 23, 2014

    @adityab
    Member

    Hi, this week we plan to make a new release of ViewerJS.

    The new behavior will be to show the overlays only on a small mobile device. On a desktop the bottom toolbar will have regular navigation buttons. Will that solve your issue?

    If you want to replace the overlays with your own buttons... hmm, you'll need to patch the viewer code for that. We're planning to write a viewer control API that should let you control the viewer externally, but no concrete steps in that direction yet.

  2. adamprocter commented on Jun 23, 2014

    @adamprocter
    Author

    I need to be able to make my own buttons or control the next and forward via JavaScript so I can control the PDF from another browser window in fact.

    Thanks
    Adam

    On 23 Jun 2014, at 14:26, Aditya Bhatt notifications@github.com wrote:

    Hi, this week we plan to make a new release of ViewerJS.

    The new behavior will be to show the overlays only on a small mobile device. On a desktop the bottom toolbar will have regular navigation buttons. Will that solve your issue?

    If you want to replace the overlays with your own buttons... hmm, you'll need to patch the viewer code for that. We're planning to write a viewer control API that should let you control the viewer externally, but no concrete steps in that direction yet.

    —
    Reply to this email directly or view it on GitHub.

  3. adityab commented on Jun 23, 2014

    @adityab
    Member

    Ok, so that needs a Viewer API, something we don't have yet. Open to contributions!

    Or email viewerjs-support@kogmbh.com. ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions