-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
A way to create HTML tables. #5154
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
Comments
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already. |
@Brahvim This might be helpful : https://p5js.org/reference/#/p5.Table |
Wait, but does it work with HTML? Because what I requested was for it to work like a DOM element. The reference page itself does not mention that it is a DOM element anywhere. Thank you for the information though! :D! |
Oh ok, I misread your request and thought you were asking for tables feature in p5 sketch. Thanks for the clarification! |
Hey @Brahvim, thanks for filing this request! Did you have any thoughts on how would this new feature help increase access to p5.js? This seems like an interesting idea (and the DOM module is one of my favorite parts of p5.js!) but I'm having trouble connecting this idea to our focus on access. What do you think? |
Uh-oh!~ I am sorry, I don't think it does so in any way. Thank you for addressing that! |
@outofambit just a thought but can this be helpful for listing descriptions for screen readers? In fact the current implementation of |
Good idea, thank you! |
I recently found out about the p5 |
@Brahvim it's close but not exactly what you want - it's for outputting a file instead of DOM Lines 1747 to 1782 in 374acfb
|
@micuat Yes, I know that, and that's what I said - since this generates markup for a table, why not find/implement a way to insert that code into the |
@Brahvim I get your point but it sounds a bit like hotglue / adhoc solution to me. If this is going to be implemented, I think it's fair to make a new "class" like There is also a problem with But again, we need to justify if this is needed from the perspective of accessibility (otherwise we end up adding every possible feature to p5.js). You can always use other libraries to generate a table. |
I see. Should probably leave it up to the developers of p5 now...? |
Hi @Qianqianye , @Brahvim , @micuat , @outofambit , @Prateek93a , Is is this issue still open i would like to work on this issue. |
Since it ended up seeming like a performance issue to do this... I don't think it's a good idea to add something like this to p5. Feel free to try though :)! If your solution fits p5's style of abstractions and offers a lot of convenience, it'd be great to have :D! In my opinion it is still better to add elements using the |
Hi @Brahvim , I understand that this feature might not be a priority at the moment, but I’m still eager to contribute to the p5.js community and learn more about its development process. Are there any other open issues or areas for new contributors where I could focus my efforts? I’m particularly interested in learning more about Embedding Methods performance optimization, or creating new features that align with p5.js's goals. Looking forward to your suggestions! |
How would this new feature help increase access to p5.js?
Most appropriate sub-area of p5.js?
New feature details:
Basically, this is a request for something which would insert a table element in the HTML file, to help with making tables; one would be saved from the hassle of typing every tag to make an HTML table, and it would ALSO be possible to make tables generate with data that was generated procedurally instead of being hardcoded into the HTML, etc.
The text was updated successfully, but these errors were encountered: