Use event listeners to dynamically load relevant content for components, excluding iTerm since it's the only auto-visible component/window.
E.g. ONLY load HTML + JavaScript for calculator when calculator icon is clicked. And the loading should only be done on the 1st click, so there's no redundant loading if user decides to open, close, and reopen calculator.
Use event listeners to dynamically load relevant content for components, excluding iTerm since it's the only auto-visible component/window.
E.g. ONLY load HTML + JavaScript for calculator when calculator icon is clicked. And the loading should only be done on the 1st click, so there's no redundant loading if user decides to open, close, and reopen calculator.
onclick)onrightclick)onclickfor launchpad icon)onclickfor dock, desktop, + launchpad icons)onclickfor dock + launchpad icons)onclickfor dock + launchpad icons)onclickfor dock + launchpad icons)onclickfor desktop icon)onclickfor desktop icon)onclickfor dock icon)onclickfor dock icon)scriptimporting calculator script)