mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
feat(core): add event listener options to renderer (#59092)
Updates the `Renderer2.listen` signature to accept event options, as well as all adjacent types to it. PR Close #59092
This commit is contained in:
committed by
Alex Rickabaugh
parent
46f00f9518
commit
d010e11b73
@@ -41,7 +41,7 @@ export abstract class DomAdapter {
|
||||
abstract isShadowRoot(node: any): boolean;
|
||||
|
||||
// Used by KeyEventsPlugin
|
||||
abstract onAndCancel(el: any, evt: any, listener: any): Function;
|
||||
abstract onAndCancel(el: any, evt: any, listener: any, options?: any): Function;
|
||||
|
||||
// Used by PlatformLocation and ServerEventManagerPlugin
|
||||
abstract getGlobalEventTarget(doc: Document, target: string): any;
|
||||
|
||||
Reference in New Issue
Block a user