From c131cafccfab6b8616c0a637e18f2cda1e97d204 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Sun, 24 Jan 2016 22:07:52 +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 3e7c0c2a5fd..8eb52d11b05 100644 --- a/docs/image.html +++ b/docs/image.html @@ -22,7 +22,7 @@ so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding).

'stretch': Scale width and height independently, This may change the aspect ratio of the src.

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('./path/to/image.png') function).

style style #

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

testID string #

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

style style #

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

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