Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NativeScript/NativeScript
/ attachToEvent
Function
attachToEvent
apps/ui/src/text-field/focus-blur-events-page.ts:14–18 ·
view source on GitHub ↗
(control, event)
Source
from the content-addressed store, hash-verified
12
}
13
14
function
attachToEvent(control, event) {
15
control.on(event, () => {
16
control.text = event +
' is thrown'
;
17
});
18
}
Callers
1
onLoaded
Function · 0.85
Calls
1
on
Method · 0.65
Tested by
no test coverage detected