You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to implement your ProgressBar. Great work though i was wondering : why are you using ids for each part of the ProgressBar ? Using a class names and accessing the objects using container.getElement('.myclass') would work perfectly and you wouldn't have to define ids for each loader you wana set on a page.
For instance, if i want to create two loaders and i don't want to bother defining ids for each, then your script is going to set the same id for each bar. I know i could just define the ids, but when doing group work, you never know what id has already been used so i try avoiding them.
I'm not an expert so if i'm wrong, do not hesitate to correct me.
Anyway, thanks for this great tool !
The text was updated successfully, but these errors were encountered:
Good point! I created this class a long time ago so that's why it's like that. I'll update to use classes very soon, unless you have an update ready to send.
Hi,
I was trying to implement your ProgressBar. Great work though i was wondering : why are you using ids for each part of the ProgressBar ? Using a class names and accessing the objects using container.getElement('.myclass') would work perfectly and you wouldn't have to define ids for each loader you wana set on a page.
For instance, if i want to create two loaders and i don't want to bother defining ids for each, then your script is going to set the same id for each bar. I know i could just define the ids, but when doing group work, you never know what id has already been used so i try avoiding them.
I'm not an expert so if i'm wrong, do not hesitate to correct me.
Anyway, thanks for this great tool !
The text was updated successfully, but these errors were encountered: