Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/editablejs/editable
/ onChange
Method
onChange
packages/ui/src/switch.tsx:25–25 ·
view source on GitHub ↗
(checked: boolean)
Source
from the content-addressed store, hash-verified
23
defaultChecked?: boolean
24
required?: boolean
25
onChange?(checked: boolean): void
26
}
27
28
const Switch = React.forwardRef<SwitchElement, SwitchProps>((props: SwitchProps, forwardedRef) => {
Callers
1
withYjs
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected