From f7771ec55f89304236083bb3f601f02e531fa3ae Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 10 Jul 2015 17:12:03 +0000 Subject: [PATCH] update website --- docs/image.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/image.html b/docs/image.html index 05bf2a9f385..5a20dedcb03 100644 --- a/docs/image.html +++ b/docs/image.html @@ -18,7 +18,7 @@ by capInsets will stay a fixed size, but the center content and borders of the image will be stretched. This is useful for creating resizable rounded buttons, shadows, and other resizable assets. More info on Apple documentation

defaultSource {uri: string} #

A static image to display while downloading the final image off the -network.

onLayout function #

Invoked on mount and layout changes with

{nativeEvent: { layout: {x, y, width, height}}}.

resizeMode enum('cover', 'contain', 'stretch') #

Determines how to resize the image when the frame doesn't match the raw +network.

onLayout function #

Invoked on mount and layout changes with

{nativeEvent: { layout: {x, y, width, height}}}.

onLoadAbort function #

Invoked on load abort

onLoadError function #

Invoked on load error

{nativeEvent: { error}}.

onLoadProgress function #

Invoked on download progress with

{nativeEvent: { written, total}}.

onLoadStart function #

Invoked on load start

onLoaded function #

Invoked on load end

resizeMode enum('cover', 'contain', 'stretch') #

Determines how to resize the image when the frame doesn't match the raw image dimensions.

source {uri: string} #

uri is a string representing the resource identifier for the image, which could be an http address, a local file path, or the name of a static image resource (which should be wrapped in the require('image!name') function).

style style #

backgroundColor string
borderColor string
borderRadius number
borderWidth number
opacity number
resizeMode Object.keys(ImageResizeMode)
tintColor string

testID string #

A unique identifier for this element to be used in UI Automation