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

id override #11

Open
rraammiinn opened this issue Jul 1, 2023 · 2 comments
Open

id override #11

rraammiinn opened this issue Jul 1, 2023 · 2 comments
Labels
question Further information is requested

Comments

@rraammiinn
Copy link

isn't there any way for overriding id of elements ?

@manatlan
Copy link
Owner

manatlan commented Jul 2, 2023

no, it's not possible ... (as all htag mechanism is based on ids)

but ... it's possible to create something like that;

self <= Tag.div(   "<span id='myid'>hello</span>" )

and use the id later (in js side only), but it's not a good practice. Cause it could complexify your app.
But for some special needs, it can be useful

@manatlan manatlan added the question Further information is requested label Jul 2, 2023
@rraammiinn
Copy link
Author

thanks .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants