Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add disable button toolbar #7

Closed
dixonsatit opened this issue Jul 20, 2016 · 1 comment
Closed

Add disable button toolbar #7

dixonsatit opened this issue Jul 20, 2016 · 1 comment
Assignees

Comments

@dixonsatit
Copy link
Member

pdf js disable button toolbar

@dixonsatit dixonsatit self-assigned this Jul 20, 2016
@dixonsatit
Copy link
Member Author

dixonsatit commented Jul 21, 2016

fixed: 7304117

<?php
use yii\helpers\Url;
?>

<?= \yii2assets\pdfjs\PdfJs::widget([
  'url'=> Url::base().'/downloads/pdfjs.pdf',
  'buttons'=>[
    'presentationMode' => false,
    'openFile' => false,
    'print' => true,
    'download' => true,
    'viewBookmark' => false,
    'secondaryToolbarToggle' => false
  ]
]);
?>

pdfjs4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant