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

Function setCurrentView

js/app.js:1453–1455  ·  view source on GitHub ↗

* 设置当前视图状态 * @param {string} view - 视图名称

(view)

Source from the content-addressed store, hash-verified

1451 * @param {string} view - 视图名称
1452 */
1453function setCurrentView(view) {
1454 AppState.currentView = view;
1455}
1456
1457// DOM 加载完成后初始化应用
1458document.addEventListener('DOMContentLoaded', initApp);

Callers 1

book.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected