Sadly, we should also change API from <copy-button> to <button is=copy-button> for better accessibility, semantics, and standards compliance. Also, we should use slot instead of target-element attribute.
EDIT: changed my mind (Also the future of is is not clear). <copy-button> stays, but attributes should be deprecated in favor of slots.
Sadly,
we should also change API fromwe should use<copy-button>
to<button is=copy-button>
for better accessibility, semantics, and standards compliance. Also,slot
instead oftarget-element
attribute.EDIT: changed my mind (Also the future of
is
is not clear).<copy-button>
stays, but attributes should be deprecated in favor of slots.