Optional altOptional backgroundLoader's background color (default: '#CCCCCC')
Optional fallbackFallback image url to load in case of load failure. If not set, a fallback background color will be used
Optional foregroundLoader's foreground color (default: '#EEECEC')
Optional heightImage loader height (default: 50)
Optional imageCSS Class name for additional img element styles
Optional imageSpecify the amount of time the component should wait for the image source to arrive before rendering the fallback, in milliseconds (default: 2000). If the image manages to load at a later time, the image will be rendered
Optional imgImage height (default: undefined)
Optional imgImage's url
Optional imgImage width (default: undefined)
Optional loadingSVGRectElement used as the loading animation. If set, will replace the default SVGRectElement
Optional onCallback emitted after the image has failed to load. Img src is sent back
Optional src: stringOptional onCallback emitted when the image element is clicked
Optional onCallback emitted after the image has successfully loaded. Img src is sent back
Optional src: stringOptional speedAnimation speed (default: 2)
Optional viewSVG's viewbox (defaults to a view box matching the given height and width), adjust this change the skeleton's rendering
Optional widthImage loader width (default: 50)
Generated using TypeDoc
Image's alt attribute