本帖最后由 wengMQ 于 2024-6-3 23:22 编辑
工具栏keys:- 0: "$navigation"
- 1: "$split"
- 2: "$refresh"
- 3: "$split"
- 4: "$history"
- 5: "$split"
- 6: "$mousemode"
- 7: "$zoom"
- 8: "$fullscreen"
- 9: "$split"
- 10: "$print"
- 11: "$singlepagemode"
- 12: "$continuousmode"
- 13: "$galleymode"
- 新替换按钮
- var btn = { key: '$print', text: '打印', enabled: true, action: function (item) { viewer.print(); } };
- 更新按钮 viewer.toolbar.desktop.updateItem("$print", btn);
|