Overview
To provide a desktop application experience, by default the web standard zoom keyboard shortcuts are disabled. The web standard keyboard shortcuts on a per application, or per window basis:
Ctrl + + (Zoom In)
Ctrl + Shift + + (Zoom In)
Ctrl + - (Zoom Out)
Ctrl + Shift + - (Zoom Out)
Ctrl + Scroll (Zoom In & Out)
Ctrl + 0 (Restore to 100%)
Examples
Enabling Zoom Keyboard Shortcuts for the application
Enabling the zoom keyboard shortcuts for an application is achieved by using the Application Configuration file by adding the following parameters in the startup_app object:
"startup_app": {
...
"accelerator": {
"zoom": true
},
...
}
Enabling Zoom Keyboard Shortcuts per window
Enabling the zoom keyboard shortcuts for an individual window is achieved by including the following parameters in the Windows options object passed to the Window constructor:
var win = new fin.desktop.Window(
{
...
"accelerator": {
"zoom": true
},
...
}, function() {
win.show();
}, function(error) {
console.log("Error creating window:", error);
}
);
Enabling Zoom Keyboard Shortcuts via .NET adaptor
Please see article found here:
Comments
0 comments
Please sign in to leave a comment.