An idle component to render instead of the resource. This component can for example be used for lazy loading data.
Provides the loading indicator
Should we fade into the image
Any error that has occured during loading or rendering
How long to delay the fade animation between the loading indicator and the image
How long the fade should take
The easing to use for the fade
Creates the node class for the onPress
function
Performs the default tap handling for the resource
The loading progress of the implementation
The number of reloads that are allowed
A parameter that is added to the URL when the image is reloaded
The number of reloads that have occured. Propagated from this component with onReload
Detemine if the resource should show the provided loading indicator
The location of the asset to load
Invoked when an error has occurred, usually asynchronously
the error that was thrown
Invoked when a fade transition starts
Invoked when a fade transition starts
Invoked when the resource has completed loading
the loaded resource
Provides progress updates on the loading resource.
values in the range [0, 1]
Invoked when the component is reloaded. Should store the state of the attempts
and set the reloads
property
with that value
the number of reload attempts that have occurred
When the element is told to unload
Provides the error state component