-
- Downloads
feat: Add dynamic tab management and URL hash synchronization
Summary of changes - Added buttons for adding and removing tabs in "268.html" and "268.mjs" to enhance user interaction with the tabs functionality. - Updated "271.html" and "271.mjs" files to assign unique IDs to multiple tab elements for easier management. - Introduced a new utility function "attachTabsHashSync" in "attach-tabs-hash-sync.mjs" to allow tab states to synchronize with the URL hash. - Enhanced the existing "Tabs" class in "tabs.mjs" by implementing methods for dynamic tab addition and removal.
Showing
- development/issues/closed/268.html 3 additions, 0 deletionsdevelopment/issues/closed/268.html
- development/issues/closed/268.mjs 30 additions, 5 deletionsdevelopment/issues/closed/268.mjs
- development/issues/closed/271.html 3 additions, 2 deletionsdevelopment/issues/closed/271.html
- development/issues/closed/271.mjs 19 additions, 5 deletionsdevelopment/issues/closed/271.mjs
- flake.lock 3 additions, 3 deletionsflake.lock
- package-lock.json 2 additions, 2 deletionspackage-lock.json
- source/components/layout/tabs.mjs 93 additions, 0 deletionssource/components/layout/tabs.mjs
- source/components/layout/utils/attach-tabs-hash-sync.mjs 166 additions, 0 deletionssource/components/layout/utils/attach-tabs-hash-sync.mjs
Please register or sign in to comment