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

Dynamically add data #3

Open
bofeiw opened this issue May 5, 2019 · 4 comments
Open

Dynamically add data #3

bofeiw opened this issue May 5, 2019 · 4 comments

Comments

@bofeiw
Copy link

bofeiw commented May 5, 2019

Hi,

The effect of this repo is great! And when I tries to add data after the page is first rendered, and not affect the existing circles, how should I do that? Currently I could only add data to the data array and re-render the whole again, but its not fluent. Could you kindly help on this?

Thanks!

@trongthanh
Copy link
Owner

Hi. I just want to let you know that I read your request, but I'm currently focusing on something else and have no time to look at this at the moment.

I've already set a reminder and will go back at this sometime later. Please excuse me that I cannot help resolve your problem immediately.

@bofeiw
Copy link
Author

bofeiw commented May 7, 2019

Thanks anyway. I’ve come up with an alternative to achieve this, add all data at first load, and set the size of unwanted elements to zero, and later change the sizes of these hidden elements. It may work for me but may not work for somebody else as it requires the data to be determined on load.

@joesfeir21
Copy link

@bofeiw can you send me an example

@bofeiw
Copy link
Author

bofeiw commented Dec 18, 2019

@bofeiw can you send me an example

@talianstallion The example is lost, but I wrote my own wheel which you can also use: https://github.com/bofeiw/floatingCircle

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

3 participants