Added Folder
window.addedFolder or addedFolder
The addedFolder object is the global object which returns an Array of object. This object provides essential properties and methods to interact with the currently opened folders in the sidenav of Acode app. Use these properties and methods to manipulate folder states, reload contents, and manage folder visibility effectively.
Properties
url: stringThe URL of the folder.remove: ()=>voidRemoves the folder from the sidenav.$node: HTMLElementThe HTML element of the folder.reload: ()=>voidReloads the folder.listState: Map<dir:string, open:boolean>The state of the folders in the folder.reloadOnResume: booleanWhether to reload the folder when the app resumes.saveState: booleanWhether to save the state of the folder when the app is closed.title: stringThe title of the folder.id: stringThe ID of the folder.
