We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cherry.toolbar.toolbarHandlers.toggleToc();
感谢🙏
The text was updated successfully, but these errors were encountered:
你指的是在开启toc模式下,控制toc的展开和折叠?
Sorry, something went wrong.
是的,开启了toc,想用接口方式调用展开和折叠
目前没有开放出来api,不过可以通过下面的方式控制,欢迎尝试哈:
// 展开 cherry.toc.$switchModel('full') cherry.toc.setModelToLocalStorage('full') // 收起 cherry.toc.$switchModel('pure') cherry.toc.setModelToLocalStorage('pure')
目前没有开放出来api,不过可以通过下面的方式控制,欢迎尝试哈: // 展开 cherry.toc.$switchModel('full') cherry.toc.setModelToLocalStorage('full') // 收起 cherry.toc.$switchModel('pure') cherry.toc.setModelToLocalStorage('pure')
好的呢~我试试
No branches or pull requests
Prerequisites
Clear and concise description of the problem
这个目录的开关可否新增个API呢😊 类似这样的调用方式Suggested solution
感谢🙏
The text was updated successfully, but these errors were encountered: