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

Add an initial position option #5

Open
beaubarbour opened this issue Mar 18, 2015 · 2 comments
Open

Add an initial position option #5

beaubarbour opened this issue Mar 18, 2015 · 2 comments

Comments

@beaubarbour
Copy link

Thanks for this great component. It's like butter.

Question... How do I load the initial flipsnap array at position 1 (instead of 0), so the user can swipe left or right to proceed?

Thanks in advance!

@beaubarbour beaubarbour changed the title Thanks for this great component. It's like butter. Initial Position 1 for Flipsnap array. Mar 18, 2015
@ninjatronic
Copy link
Owner

At the moment this doesn't exist as an option in angular-flipsnap.js or even on flipsnap.js. There's some work to be done to both to support it.

As a workaround, is it enough for you to call flipsnap.toNext(0) on init?

@beaubarbour
Copy link
Author

Thanks for the response Pete! I’ll try the workaround and let you know how it goes.

-b

On Mar 19, 2015, at 6:58 AM, Pete Martin [email protected] wrote:

At the moment this doesn't exist as an option in angular-flipsnap.js or even on flipsnap.js. There's some work to be done to both to support it.

As a workaround, is it enough for you to call flipsnap.toNext(0) on init?


Reply to this email directly or view it on GitHub #5 (comment).

@ninjatronic ninjatronic changed the title Initial Position 1 for Flipsnap array. Add an initial position option Mar 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants