Replies: 1 comment 1 reply
-
|
I don't think the "is" attribute is supported in Safari (desktop or iOS).... and they seem determined NOT to support it as far as I can tell from their feature tracker. I was really hoping I could use the approach you provide, but we really need Safari to work. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use in my application very frequently the same anchor tag that replaces a part of the screen like done in SPA. Is it wise to create a custom element for that like this:
Then I use this tag in my application html files like this in pug in nodjes:
a(class="btn-link text-reset fw-normal" href="/iam", is="a-hx") Nice to meet you, I am Herman van der BlomI think this can be very strong because now I am not using any custom attributes in my anchor tag, so it seems like 100% normal HTML
so if the objective is to create "normal" HTML that objective is also met :-)
Beta Was this translation helpful? Give feedback.
All reactions