How can i use aria attributes in Binding.scala?
When compiling the following:
<div role="option" aria-checked="false"/>
the following error gets displayed:
value aria-checked is not a member of org.scalajs.dom.html.Div
the following error gets displ" /> the following error gets displ" /> the following error gets displ"/>
How can i use aria attributes in Binding.scala?
When compiling the following:
<div role="option" aria-checked="false"/>
the following error gets displayed:
value aria-checked is not a member of org.scalajs.dom.html.Div
Copyright © 2021 Jogjafile Inc.
All properties defined in scala-js-dom is automatically available for XHTML literals in Binding.scala.
However, such
aria-checkedproperty has not been defined in current version of scala-js-dom. You can use custom attributes as a workaround: