Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/editablejs/editable
/ event.ts
File
event.ts
packages/editor/src/plugin/event.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Editable } from
'./editable'
2
import
{ Emitter } from
'./emitter'
3
4
const
EDITOR_TO_EVENT: WeakMap<Editable, Emitter> =
new
WeakMap()
Callers
nothing calls this directly
Calls
5
get
Method · 0.80
on
Method · 0.80
off
Method · 0.80
once
Method · 0.80
emit
Method · 0.80
Tested by
no test coverage detected