Summary
It's common practice to update the URL hash to reflect the currently active section for shareability and direct linking. The library should provide an option to automatically manage this.
Proposed Solution
Implement a feature that, when enabled, automatically updates window.location.hash to the ID of the currently active section. It should also handle initial load by jumping to the section specified in the URL hash, if present.
Acceptance Criteria
🤖 Gemini AI가 자동 생성한 기획 이슈입니다. 구현하려면 ai-implement 라벨을 추가하세요.
Summary
It's common practice to update the URL hash to reflect the currently active section for shareability and direct linking. The library should provide an option to automatically manage this.
Proposed Solution
Implement a feature that, when enabled, automatically updates
window.location.hashto the ID of the currently active section. It should also handle initial load by jumping to the section specified in the URL hash, if present.Acceptance Criteria
window.location.hashupdates to the active section's ID./#section-id) correctly scrolls to and activates that section.syncHash: booleanorupdateUrlHash: booleanis available.🤖 Gemini AI가 자동 생성한 기획 이슈입니다. 구현하려면
ai-implement라벨을 추가하세요.