Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/compiler-explorer/compiler-explorer
/ initCallbacks
Method
initCallbacks
static/sharing.ts:99–101 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
97
}
98
99
protected initCallbacks(): void {
100
this.layout.on(
'stateChanged'
, this.onStateChanged.bind(this));
101
}
102
103
protected onStateChanged(): void {
104
const
config = SharingBase.filterComponentState(this.layout.toConfig());
Callers
1
constructor
Method · 0.95
Calls
1
on
Method · 0.45
Tested by
no test coverage detected