sandstone/ Image
Provides Sandstone styled Image component that supports multiple resolution sources.
import Image from '@enact/sandstone/Image';Members
ImageComponent
A Sandstone-styled image component
<Image
src={{
'hd': 'https://dummyimage.com/64/e048e0/0011ff',
'fhd': 'https://dummyimage.com/128/e048e0/0011ff',
'uhd': 'https://dummyimage.com/256/e048e0/0011ff'
}}
>import Image from '@enact/sandstone/Image';Extends: sandstone/Image.ImageBase
Wrapped with: sandstone/Image.ImageDecorator
ImageBaseComponent
A Sandstone-styled image component without any behavior
import {ImageBase} from '@enact/sandstone/Image';Extends: ui/Image.Image
Properties
Called with a reference to the root component.
When using sandstone/Image.Image, the
refprop is forwarded to this component ascomponentRef.Customizes the component by mapping the supplied collection of CSS class names to the corresponding internal elements and states of this component.
The following classes are supported:
image- The root component class for Image
ImageDecoratorHigher-Order Component
Sandstone-specific behaviors to apply to Image.
import {ImageDecorator} from '@enact/sandstone/Image';Includes: sandstone/Skinnable.Skinnable
ArrayBooleanFunctionModuleNumberObjectString