mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 22:01:42 +08:00
feat(dev-tools): higlight overlay
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user