Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ preventDefault
Method
preventDefault
packages/common/upgrade/test/upgrade.spec.ts:62–64 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
60
return
{
61
defaultPrevented: false,
62
preventDefault() {
63
this.defaultPrevented = true;
64
},
65
};
66
}
67
Callers
11
rejectionListener
Function · 0.45
errorListener
Function · 0.45
event_test.ts
File · 0.45
event_dispatcher_test.ts
File · 0.45
dispatch
Method · 0.45
preventDefaultForA11yClick
Function · 0.45
preventDefault
Function · 0.45
initialize
Method · 0.45
MyComponent_HostBindings
Function · 0.45
MyComponent_Template
Function · 0.45
duplicate_bindings.js
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected