feat(dev-tools): higlight overlay

This commit is contained in:
vakrilov
2019-11-05 13:18:09 +02:00
parent cf32428f52
commit 6b467871d1
12 changed files with 325 additions and 16 deletions

View File

@ -200,6 +200,18 @@ export class DOMNode {
return result;
}
requestHighligh() {
notifyInspector((ins) => {
ins.nodeHighlightRequested(this.nodeId);
});
}
static requestCancelInspect() {
notifyInspector((ins) => {
ins.inspectModeCanceled();
});
}
dispose() {
unregisterNode(this);
this.viewRef.clear();