MCPcopy Create free account
hub / github.com/angular/angular / getOnEventNames

Function getOnEventNames

packages/zone.js/lib/browser/property-descriptor.ts:57–61  ·  view source on GitHub ↗
(target: Object)

Source from the content-addressed store, hash-verified

55 * from the target object itself, inherited properties are not considered.
56 */
57export function getOnEventNames(target: Object) {
58 return Object.getOwnPropertyNames(target)
59 .filter((name) => name.startsWith('on') && name.length > 2)
60 .map((name) => name.substring(2));
61}
62
63export function propertyDescriptorPatch(api: _ZonePrivate, _global: any) {
64 if (isNode && !isMix) {

Callers 2

patchUtilFunction · 0.90
propertyDescriptorPatchFunction · 0.85

Calls 2

mapMethod · 0.80
filterMethod · 0.45

Tested by

no test coverage detected