There's the lang standard HTML DOM property that maps to the lang standard HTML attribute.
Why not comply to these standards?
Benefits:
- Standard HTML code works out of the box
- making users' components standard HTML and accessible will not require any boilerplate linking code (since
lang property already reflects to the attribute).
There's the
langstandard HTML DOM property that maps to thelangstandard HTML attribute.Why not comply to these standards?
Benefits:
langproperty already reflects to the attribute).