2016-06-23 09:47:54 -07:00
|
|
|
/**
|
|
|
|
|
* @license
|
2020-05-19 12:08:49 -07:00
|
|
|
* Copyright Google LLC All Rights Reserved.
|
2016-06-23 09:47:54 -07:00
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
|
*/
|
|
|
|
|
|
2019-08-22 19:16:25 -07:00
|
|
|
import {ɵDomAdapter as DomAdapter} from '@angular/common';
|
2016-06-08 16:38:52 -07:00
|
|
|
|
2015-10-14 09:41:15 -07:00
|
|
|
|
2015-03-09 11:35:46 +01:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Provides DOM operations in any browser environment.
|
2016-08-17 13:42:18 -07:00
|
|
|
*
|
|
|
|
|
* @security Tread carefully! Interacting with the DOM directly is dangerous and
|
|
|
|
|
* can introduce XSS risks.
|
2015-03-09 11:35:46 +01:00
|
|
|
*/
|
2015-09-25 14:48:17 -07:00
|
|
|
export abstract class GenericBrowserDomAdapter extends DomAdapter {
|
2020-04-13 16:40:21 -07:00
|
|
|
constructor() {
|
|
|
|
|
super();
|
|
|
|
|
}
|
2015-10-14 09:41:15 -07:00
|
|
|
|
2020-04-13 16:40:21 -07:00
|
|
|
supportsDOMEvents(): boolean {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2015-03-09 11:35:46 +01:00
|
|
|
}
|