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

Flicking update method #878

Open
kalitk0 opened this issue Jul 21, 2024 · 1 comment
Open

Flicking update method #878

kalitk0 opened this issue Jul 21, 2024 · 1 comment
Assignees
Labels
🔖4.x v4.x~ related issue ❓Question Asking question about @egjs/Flicking

Comments

@kalitk0
Copy link

kalitk0 commented Jul 21, 2024

How to update or rebuild Flicking when adding or removing panels ?

In Vue2 I have an array with panel elements. How to update Flicking when array is changed? Is there an update method or something ?

@malangfox malangfox self-assigned this Jul 26, 2024
@malangfox malangfox added ❓Question Asking question about @egjs/Flicking 🔖4.x v4.x~ related issue labels Jul 26, 2024
@malangfox
Copy link
Contributor

Hello @kalitk0.

The easiest way you can implement this is to use append.
You can implement this in a variety of ways. If you are using an array to create the elements inside Flicking, you could also update the array.

In most cases, this should update the new Panels as normal, but if it doesn't work smoothly, you can provide us a demo and we'll check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔖4.x v4.x~ related issue ❓Question Asking question about @egjs/Flicking
Projects
None yet
Development

No branches or pull requests

2 participants