> > Ok, I use Element.setAttribute, but I assume that I have to take care that > my attribute names do not collide with existing ones? >
Jip. For custom attributes you normally use the HTMLElement.dataset functionality which means your attribute names are prefixed with "data-". See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement.dataset -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
