2021-12-09 21:37:01 -05:00
|
|
|
/**
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright Google LLC All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* 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
|
|
|
|
|
*/
|
|
|
|
|
|
2021-12-09 00:44:17 -05:00
|
|
|
import {ApplicationOperations} from 'ng-devtools';
|
|
|
|
|
import {DirectivePosition, ElementPosition} from 'protocol';
|
2020-02-07 16:09:36 -05:00
|
|
|
|
|
|
|
|
export class DemoApplicationOperations extends ApplicationOperations {
|
2020-04-06 18:02:51 -04:00
|
|
|
viewSource(position: ElementPosition): void {
|
2020-02-13 12:03:22 -05:00
|
|
|
console.warn('viewSource() is not implemented because the demo app runs in an Iframe');
|
|
|
|
|
throw new Error('Not implemented in demo app.');
|
2020-02-07 16:09:36 -05:00
|
|
|
}
|
2020-04-06 18:02:51 -04:00
|
|
|
selectDomElement(position: ElementPosition): void {
|
2020-02-13 12:03:22 -05:00
|
|
|
console.warn('selectDomElement() is not implemented because the demo app runs in an Iframe');
|
|
|
|
|
throw new Error('Not implemented in demo app.');
|
2020-02-07 22:56:11 -05:00
|
|
|
}
|
2020-09-12 22:23:14 -04:00
|
|
|
inspect(directivePosition: DirectivePosition, keyPath: string[]): void {
|
|
|
|
|
console.warn('inspect() is not implemented because the demo app runs in an Iframe');
|
2020-04-06 18:02:51 -04:00
|
|
|
return;
|
|
|
|
|
}
|
2020-02-07 16:09:36 -05:00
|
|
|
}
|