MCPcopy Create free account
hub / github.com/cutedCha/noteBoook / getCurrentView

Function getCurrentView

js/app.js:1445–1447  ·  view source on GitHub ↗

* 获取当前视图状态 * @returns {string} 当前视图 ('cover' | 'toc' | 'chapter')

()

Source from the content-addressed store, hash-verified

1443 * @returns {string} 当前视图 ('cover' | 'toc' | 'chapter')
1444 */
1445function getCurrentView() {
1446 return AppState.currentView;
1447}
1448
1449/**
1450 * 设置当前视图状态

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected