Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/brimdata/zui
/ add
Method
add
apps/zui/src/js/api/menus/menus-api.ts:20–22 ·
view source on GitHub ↗
(menuItem: T)
Source
from the content-addressed store, hash-verified
18
constructor() {}
19
20
add(menuItem: T) {
21
this.registry.push(menuItem)
22
}
23
24
remove(menuItem: T): void {
25
if
(this.registry.includes(menuItem)) remove(this.registry, (l) => l === l)
Callers
14
addClass
Function · 0.45
initDOM
Function · 0.45
useScrollShadow
Function · 0.45
shift
Function · 0.45
get-persistable.test.ts
File · 0.45
test.ts
File · 0.45
test.ts
File · 0.45
create
Function · 0.45
history.test.ts
File · 0.45
createAbortable
Method · 0.45
add
Function · 0.45
spanOf
Function · 0.45
Calls
1
push
Method · 0.45
Tested by
1
spanOf
Function · 0.36