-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructured overview and user guide (previously named implementation…
…). Added file structure dropdowns in the usage guide to allow users to interact with the file structure.
- Loading branch information
Showing
6 changed files
with
612 additions
and
519 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
function toggleFolder(folderId) { | ||
const content = document.getElementById(folderId); | ||
const folderItem = content.previousElementSibling; | ||
|
||
// Toggle active state on folder item | ||
folderItem.classList.toggle('active'); | ||
|
||
// Toggle visibility of content | ||
content.classList.toggle('visible'); | ||
|
||
// Prevent event bubbling | ||
event.stopPropagation(); | ||
} |
Oops, something went wrong.