Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ionic-team/ionic-framework
/ disabledChanged
Method
disabledChanged
core/src/components/toggle/toggle.tsx:161–165 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
159
160
@Watch(
'disabled'
)
161
disabledChanged() {
162
if (this.gesture) {
163
this.gesture.enable(!this.disabled);
164
}
165
}
166
167
private toggleChecked() {
168
const { checked, value } = this;
Callers
1
Toggle
Class · 0.95
Calls
1
enable
Method · 0.65
Tested by
no test coverage detected