Skip to content

Type Alias: ImageFit ​

ts
type ImageFit = 'contain' | 'cover' | 'stretch';

Experimental

How the image fills its box: Plotly sizing 'contain' → 'contain', 'fill' → 'cover', 'stretch' → 'stretch'.

Released under the MIT License.