2021-12-10 02:37:01 +00:00
|
|
|
/**
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright Google LLC All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
2024-09-20 15:23:15 +00:00
|
|
|
* found in the LICENSE file at https://angular.dev/license
|
2021-12-10 02:37:01 +00:00
|
|
|
*/
|
|
|
|
|
|
2021-12-09 05:44:17 +00:00
|
|
|
import {ApplicationOperations} from 'ng-devtools';
|
|
|
|
|
import {DirectivePosition, ElementPosition} from 'protocol';
|
2020-02-07 21:09:36 +00:00
|
|
|
|
|
|
|
|
export class DemoApplicationOperations extends ApplicationOperations {
|
2023-12-04 19:44:53 +00:00
|
|
|
override viewSource(position: ElementPosition): void {
|
2020-02-13 17:03:22 +00: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 21:09:36 +00:00
|
|
|
}
|
2023-12-04 19:44:53 +00:00
|
|
|
override selectDomElement(position: ElementPosition): void {
|
2020-02-13 17:03:22 +00: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-08 03:56:11 +00:00
|
|
|
}
|
2023-12-04 19:44:53 +00:00
|
|
|
override inspect(directivePosition: DirectivePosition, keyPath: string[]): void {
|
2020-09-13 02:23:14 +00:00
|
|
|
console.warn('inspect() is not implemented because the demo app runs in an Iframe');
|
2020-04-06 22:02:51 +00:00
|
|
|
return;
|
|
|
|
|
}
|
2020-02-07 21:09:36 +00:00
|
|
|
}
|