1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- function ViewerUIConfig() {
- this.showBanner = true;
- this.showToolbar = true;
- this.showContextMenu = true;
- this.showPageNavigation = true;
- this.primarySelectionColor = null;
- this.secondarySelectionColor = null;
- this.showSecondarySelection = true;
- }
- ViewerUIConfig.prototype.configure = function(configuration) {
- applyJSONProperties(this, configuration);
- };
- ViewerUIConfig.prototype.getShowBanner = function() {
- return this.showBanner;
- };
- ViewerUIConfig.prototype.getShowToolbar = function() {
- return this.showToolbar;
- };
- ViewerUIConfig.prototype.getShowContextMenu = function() {
- return this.showContextMenu;
- };
- ViewerUIConfig.prototype.getShowPageNavigation = function() {
- return this.showPageNavigation;
- };
- ViewerUIConfig.prototype.getPrimarySelectionColor = function() {
- return this.primarySelectionColor;
- };
- ViewerUIConfig.prototype.getSeondarySelectionColor = function() {
- return this.secondarySelectionColor;
- };
- ViewerUIConfig.prototype.getShowSecondarySelection = function() {
- return this.showSecondarySelection;
- };
|