aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/dumbyUtils.mjs
Commit message (Collapse)AuthorAge
...
* style: switch to standardjsHsieh Chin Fan2024-10-02
|
* style: reformat codeHsieh Chin Fan2024-10-01
|
* refactor: menu-item only call methods from dumbymap.utilsHsieh Chin Fan2024-10-01
|
* feat: improve actions in sub-menuHsieh Chin Fan2024-09-30
| | | | | | * scroll to focus map/block * refactor methods in dumbyUtils * refactor MutationObserver for map
* feat: add submenu for map/block/layout switchingHsieh Chin Fan2024-09-29
| | | | | | | | | | | * Add general classes into MenuItem * Use MutationObserver for data-mode * Automatically unfocus other maps when one is focused TODO: * hover effect on submenu item doesn't work, why? * shorcuts hint in selector ".folder.menu-item" not looks great
* style: prettierHsieh Chin Fan2024-09-29
|
* style: prettierHsieh Chin Fan2024-09-28
|
* refactor: mapclay v0.8.2Hsieh Chin Fan2024-09-28
| | | | | | | | | | * class name from 'map-container' -> 'mapclay' * Just append rendered element when semantic HTML is generated from markdown. Reuse logic is handed by mapclay * Move logic about geolinks into afterMapRendered for each rendering (afterEachMapLoaded -> afterMapRendered)
* feat: improve focus utilsHsieh Chin Fan2024-09-24
| | | | | | * use block height to determine behavior of scrollIntoView() * change color of indicator for focused block * make indicator always visible
* refactor: move utils about dumbymap into moduleHsieh Chin Fan2024-09-24