fix(ivy): named listener method for easier debugging. (#23168)
PR Close #23168
This commit is contained in:
parent
720031b5f6
commit
9a2479d423
|
@ -1787,7 +1787,7 @@ export function wrapListenerWithDirtyLogic(view: LView, listenerFn: (e?: any) =>
|
|||
*/
|
||||
export function wrapListenerWithDirtyAndDefault(
|
||||
view: LView, listenerFn: (e?: any) => any): EventListener {
|
||||
return function(e: Event) {
|
||||
return function wrapListenerIn_markViewDirty(e: Event) {
|
||||
markViewDirty(view);
|
||||
if (listenerFn(e) === false) {
|
||||
e.preventDefault();
|
||||
|
|
Loading…
Reference in New Issue