Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to add a property? #43

Closed
coooliang opened this issue Jul 14, 2023 · 1 comment
Closed

Is it possible to add a property? #43

coooliang opened this issue Jul 14, 2023 · 1 comment

Comments

@coooliang
Copy link

coooliang commented Jul 14, 2023

Is it possible to add a property 'removeOpenToRoot' , because I find it easier to view documents without automatically closeing folders

if (window.$docsify && window.$docsify.removeOpenToRoot) {
  removeOpenToRoot(getActiveNode());
}
window.$docsify = {
    removeOpenToRoot:true//If not set, it is false
}
@coooliang
Copy link
Author

It still doesn't work. If I change it like this and click on the subdirectory it still automatically collapses the other directories

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant