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

Can't disable loop property #111

Open
Macarthurval opened this issue Sep 25, 2017 · 1 comment
Open

Can't disable loop property #111

Macarthurval opened this issue Sep 25, 2017 · 1 comment

Comments

@Macarthurval
Copy link

Hello, I'm testing the demo app and I can see that the loop property on the container element has no effect, looping alike from the last slide to the first one and backwards even when this property is disabled.

<Slides:SlideContainer id="slides" row="0" pageIndicators="true" loop="false" start="onStart" cancelled="onCancelled" changed="onChanged" finished="onFinished">

I've tried too changing this property in the code, with no success:

sliderContainer = page.getViewById('slides') sliderContainer.loop = false

I think this feature is essential and I would like to get support with it please. My tns version is 3.1.3.

And thanks for this great plugin. Regards.

@cjb5790
Copy link

cjb5790 commented Feb 26, 2018

+1

This appears to work when the property is provided without any value. i.e. loop=""

However, if any value is provided, the expression is evaluated as true.

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