showAbout
Category: Application Control
Namespace: web.app.showAbout
Description
Display the application's About dialog showing version information, copyright, license details, and other application metadata. This is a built-in dialog provided by WebExeBuilder.
Syntax
await web.app.showAbout();
Parameters
None
Returns
Promise<void> - Resolves when the dialog is closed
Example
Simple example
await web.app.showAbout();
Practical example
document.getElementById('about-menu').addEventListener('click', async () => {
await web.app.showAbout();
});
Advanced example
async function showHelpMenu() {
const menu = [
{ label: 'Documentation', action: () => openDocs() },
{ label: 'Check for Updates', action: () => checkUpdates() },
{ label: 'About', action: async () => await web.app.showAbout() }
];
// Show menu and handle selection
const selected = await showContextMenu(menu);
if (selected && selected.action) {
await selected.action();
}
}
Use Cases
- Add About menu item to Help menu
- Show version information to users
- Display copyright and license details
- Provide support contact information
- Show application credits
- Display build number and version
- Keyboard shortcut (F1, Ctrl+?)
- Context menu About option
Error Handling
This method does not throw errors. The dialog will display with available information.
Performance Tips
- Call when user requests (don't show automatically)
- No need to cache or check state
- Dialog is modal and blocks until closed
- Lightweight operation
Related Methods
web.app.licenseInfo()- Get license details programmaticallyweb.app.registrationName()- Get registered userweb.app.packageName()- Get package type
Notes
- Shows built-in About dialog
- Includes version, copyright, and license info
- Modal dialog (blocks until closed)
- Automatically includes WebExeBuilder branding
- Customize by configuring project properties