github lynx-family/lynx-stack @lynx-js/web-elements@0.8.2

latest releases: @lynx-js/offscreen-document@0.1.4, @lynx-js/cache-events-webpack-plugin@0.0.2, @lynx-js/web-constants@0.16.0...
one month ago

Patch Changes

  • Add crossorigin attribute support to x-image component (#1340)

    • Added crossorigin to the observedAttributes array in ImageSrc.ts
    • Implemented #handleCrossorigin handler using the bindToAttribute helper to forward the crossorigin attribute from the custom element to the internal <img> element
    • Added comprehensive test coverage to verify the attribute is properly passed through to the shadow DOM

    This enables CORS-enabled image loading when using <x-image crossorigin="anonymous"> or similar configurations.

  • Updated dependencies []:

    • @lynx-js/web-elements-template@0.8.2

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.