Improve DOM attribute support and setting styles when crafting components.
Review Request #13621 — Created March 6, 2024 and submitted — Latest diff uploaded
When crafting components, we now capture the DOM attributes we support
and hand it off tosetProps
, rather than somewhat duplicating that
code inline.This also makes it easy to support
style=...
, which can now be applied
to any component (markingstyle
as a reserved property).
Unit tests pass.
Used this in the spinner support.