TAMULib / weaver-components

Custom Web Components for the Weaver UI
MIT License
0 stars 1 forks source link

Weaver Components should provide an image component. #463

Open jeremythuff opened 3 years ago

jeremythuff commented 3 years ago

This Image component should support the definition of a fallback image, loading graphic, and predefined dimensions, see sage's implementation of an image directive.

Alt tags and accessibility concerns need to be provided for.

Fallback image, loading graphic values should be configurable from the weaver config and overridable via component inputs.

This should support the explicit suppression of the fallback image or loading graphic with dedicated inputs (i.e no-fallback="true")

If no value is defined in configuration then the component should not display either a fallback or loading image.