Open
Description
Description
We currently only reflect these attributes but the list of global html attributes that reflect has expanded since initial implementation.
A recent survey found that these attributes should also reflect:
- autocapitalize
- autofocus
- contenteditable
- enterkeyhint
- inert
- inputmode
- nonce
- popover
- translate
- writingsuggestions
These global html attributes do not reflect, per the spec:
- exportparts
- itemid
- itemprop
- itemref
- itemscope
- itemtype
- part
Note that support for additional attributes should be added simultaneously to @lwc/engine-dom
, @lwc/engine-server
, and @lwc/ssr-compiler
to avoid hydration mismatches.
Version
LWC v8.11.0
Activity