From 73bc7ae9a2e7182653bb1a3d10f1a1fada495e93 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Tue, 15 Dec 2015 03:05: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 5499920e05b..a4e2763fcd3 100644 --- a/docs/image.html +++ b/docs/image.html @@ -17,7 +17,7 @@ images from local disk, such as the camera roll.

Example usage:

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

onLoad function #

Invoked when load completes successfully

onLoadEnd function #

Invoked when load either succeeds or fails

onLoadStart function #

Invoked on load start

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

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

source {uri: string}, number #

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 #

resizeMode Object.keys(ImageResizeMode)
backgroundColor string
borderColor string
borderWidth number
borderRadius number
overflow enum('visible', 'hidden')
tintColor string
opacity number

testID string #

A unique identifier for this element to be used in UI Automation +resource (which should be wrapped in the require('image!name') function).

style style #

resizeMode Object.keys(ImageResizeMode)
backfaceVisibility enum('visible', 'hidden')
backgroundColor string
borderColor string
borderWidth number
borderRadius number
overflow enum('visible', 'hidden')
tintColor string
opacity number

testID string #

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

iosaccessibilityLabel string #

The text that's read by the screen reader when the user interacts with the image.

iosaccessible bool #

When true, indicates the image is an accessibility element.

ioscapInsets {top: number, left: number, bottom: number, right: number} #

When the image is resized, the corners of the size specified by capInsets will stay a fixed size, but the center content and borders