Skip to content

Commit

Permalink
fix(TabStripItem): bind attributes and listeners (#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignigena authored and rigor789 committed Jan 13, 2020
1 parent 6df1351 commit aa42642
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion platform/nativescript/runtime/components/tab-strip-item.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
export default {
template: `<NativeTabStripItem><slot /></NativeTabStripItem>`,
render(h) {
return h(
'NativeTabStripItem',
{
on: this.$listeners,
attrs: this.$attrs
},
this.$slots.default
)
},

mounted() {
let _nativeView = this.$el.nativeView
Expand Down

0 comments on commit aa42642

Please sign in to comment.