• 
      

    Improve DOM attribute support and setting styles when crafting components.

    Review Request #13621 — Created March 6, 2024 and submitted

    Information

    Ink
    master

    Reviewers

    When crafting components, we now capture the DOM attributes we support
    and hand it off to setProps, rather than somewhat duplicating that
    code inline.

    This also makes it easy to support style=..., which can now be applied
    to any component (marking style as a reserved property).

    Unit tests pass.

    Used this in the spinner support.

    Summary ID
    Improve DOM attribute support and setting styles when crafting components.
    When crafting components, we now capture the DOM attributes we support and hand it off to `setProps`, rather than somewhat duplicating that code inline. This also makes it easy to support `style=...`, which can now be applied to any component (marking `style` as a reserved property).
    956a82115d1c75b4c336e63e1cf1cfbd9b8deb43
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (6e99d3d)