From 64d8f56e326aa32cceb17abf112c909a01780553 Mon Sep 17 00:00:00 2001 From: Albert Martin Date: Sun, 12 Jan 2020 18:58:09 -0600 Subject: [PATCH] fix: bind attributes and listeners; support tap listener --- .../nativescript/runtime/components/tab-strip-item.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/platform/nativescript/runtime/components/tab-strip-item.js b/platform/nativescript/runtime/components/tab-strip-item.js index 0cf80364..6acf1972 100644 --- a/platform/nativescript/runtime/components/tab-strip-item.js +++ b/platform/nativescript/runtime/components/tab-strip-item.js @@ -1,5 +1,14 @@ export default { - template: ``, + render(h) { + return h( + 'NativeTabStripItem', + { + on: this.$listeners, + attrs: this.$attrs + }, + this.$slots.default + ) + }, mounted() { let _nativeView = this.$el.nativeView