feat(zone.js): move MutationObserver/FileReader to different module (#31657)
Separate `EventTarget`, `FileReader`, `MutationObserver` and `IntersectionObserver` patches into different module. So the user can disable those modules separately. PR Close #31657
This commit is contained in:

committed by
Misko Hevery

parent
6e2db228af
commit
253337dc0a
@ -325,6 +325,21 @@ interface ZoneGlobalConfigurations {
|
||||
*/
|
||||
__Zone_disable_EventTarget?: boolean;
|
||||
|
||||
/**
|
||||
* Disable the monkey patch of the browser `FileReader` APIs.
|
||||
*/
|
||||
__Zone_disable_FileReader?: boolean;
|
||||
|
||||
/**
|
||||
* Disable the monkey patch of the browser `MutationObserver` APIs.
|
||||
*/
|
||||
__Zone_disable_MutationObserver?: boolean;
|
||||
|
||||
/**
|
||||
* Disable the monkey patch of the browser `IntersectionObserver` APIs.
|
||||
*/
|
||||
__Zone_disable_IntersectionObserver?: boolean;
|
||||
|
||||
/**
|
||||
* Disable the monkey patch of the browser onProperty APIs(such as onclick).
|
||||
*
|
||||
|
Reference in New Issue
Block a user