8000 fix(trace): print actual nativeView's with their id · boazblake/nativescript-vue@b2adf9c · GitHub
[go: up one dir, main page]

Skip to content

Commit b2adf9c

Browse files
committed
fix(trace): print actual nativeView's with their id
1 parent 3b22260 commit b2adf9c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

platform/nativescript/renderer/ElementNode.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ export default class ElementNode extends ViewNode {
2020
this._nativeView[VUE_ELEMENT_REF] = this
2121
}
2222

23+
toString() {
24+
return this.nativeView.toString()
25+
}
26+
2327
appendChild(childNode) {
2428
super.appendChild(childNode)
2529

0 commit comments

Comments
 (0)
0