Skip to content

Commit aa42642

Browse files
Ignigenarigor789
authored andcommitted
fix(TabStripItem): bind attributes and listeners (#601)
1 parent 6df1351 commit aa42642

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

platform/nativescript/runtime/components/tab-strip-item.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
export default {
2-
template: `<NativeTabStripItem><slot /></NativeTabStripItem>`,
2+
render(h) {
3+
return h(
4+
'NativeTabStripItem',
5+
{
6+
on: this.$listeners,
7+
attrs: this.$attrs
8+
},
9+
this.$slots.default
10+
)
11+
},
312

413
mounted() {
514
let _nativeView = this.$el.nativeView

0 commit comments

Comments
 (0)