Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spacing and Peaking for Vue #134

Closed
zapobyte opened this issue Aug 12, 2019 · 3 comments
Closed

Spacing and Peaking for Vue #134

zapobyte opened this issue Aug 12, 2019 · 3 comments

Comments

@zapobyte
Copy link

zapobyte commented Aug 12, 2019

Nativescript version : 6.0.0
Nativescript-pager: latest -> 11.0.9
Platform: Android

Hello,

I was looking at this and the Vue implementation for peaking and spacing attributes is missing.
Tried to implementing like:

<Pager height="100%" for="item in gallery" @selectedIndexChange="selectedIndexChange" spacing="2%" peaking="10%">
 <v-template>
   <GridLayout class="gallery-item" rows="*" columns="*">
	<Image stretch="fill" class="gallery-image" row="0" :src="item.image"/>
   </GridLayout>
  </v-template>
</Pager>

and the image is still displaying the only one.
The code does not show any implementation into it https://github.com/triniwiz/nativescript-pager/blob/master/src/vue/pager.js or am i missing something?

Thank you.

@zapobyte
Copy link
Author

Hi,

Not sure but looks that basically this plugin development for Vue is dead?

@rigor789
Copy link
Contributor

v-bind="$attrs"

This passes all attributes down to the element (anything that's not a prop).

So in theory - it should work, unless it doesn't work in other flavors either.

@zapobyte
Copy link
Author

v-bind="$attrs"

This passes all attributes down to the element (anything that's not a prop).

So in theory - it should work, unless it doesn't work in other flavors either.

This should do it. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants