-
Notifications
You must be signed in to change notification settings - Fork 1
Dynamically load components #33
Copy link
Copy link
Open
Labels
back endThis will modify the site's functionalityThis will modify the site's functionalityenhancementNew or improvement to existing featureNew or improvement to existing feature
Description
Activity
Metadata
Metadata
Assignees
Labels
back endThis will modify the site's functionalityThis will modify the site's functionalityenhancementNew or improvement to existing featureNew or improvement to existing feature
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)