Module
ReactNative.Components.Image
- Package
- purescript-reactnative
- Repository
- doolse/purescript-reactnative
See Image
#ImageProps Source
type ImageProps eff = { android :: Prop { resizeMethod :: ResizeMethod }, ios :: Prop { accessibilityLabel :: String, accessible :: Boolean, blurRadius :: Number, capInsets :: { bottom :: Number, left :: Number, right :: Number, top :: Number }, defaultSource :: ImageSource, onPartialLoad :: UnitEventHandler eff, onProgress :: EventHandler eff ImageProgressEvent }, onError :: UnitEventHandler eff, onLayout :: EventHandler eff LayoutEvent, onLoad :: UnitEventHandler eff, onLoadEnd :: UnitEventHandler eff, onLoadStart :: UnitEventHandler eff, resizeMode :: ResizeMode, source :: ImageSource, style :: Styles, testID :: String }
#backgroundImage Source
backgroundImage :: Styles -> ImageSource -> Array ReactElement -> ReactElement
Create a background image with give styles and source
Background images are simply normal images with children overalayed ontop
#backgroundImage' Source
backgroundImage' :: forall eff. Prop (ImageProps eff) -> ImageSource -> Array ReactElement -> ReactElement
Create a background image with props and source
Background images are simply normal images with children overalayed ontop
#image_ Source
image_ :: ImageSource -> ReactElement
Create an Image from source only
#image Source
image :: Styles -> ImageSource -> ReactElement
Create an Image with styles and source only
#image' Source
image' :: forall eff. Prop (ImageProps eff) -> ImageSource -> ReactElement
Create an Image with props and source
#ImageProgressEvent Source
type ImageProgressEvent = { nativeEvent :: { loaded :: Number, total :: Number } }
- Modules
- ReactNative.
API - ReactNative.
Android. API - ReactNative.
Android. Components - ReactNative.
Components - ReactNative.
Components. ActivityIndicator - ReactNative.
Components. Button - ReactNative.
Components. Image - ReactNative.
Components. ListView - ReactNative.
Components. Modal - ReactNative.
Components. NavigationExperimental - ReactNative.
Components. Navigator - ReactNative.
Components. NavigatorIOS - ReactNative.
Components. Picker - ReactNative.
Components. ScrollView - ReactNative.
Components. Slider - ReactNative.
Components. Switch - ReactNative.
Components. Text - ReactNative.
Components. TextInput - ReactNative.
Components. Touchable - ReactNative.
Components. TouchableNativeFeedback - ReactNative.
Components. View - ReactNative.
Events - ReactNative.
Internal. Undefinable - ReactNative.
Platform - ReactNative.
PropTypes - ReactNative.
PropTypes. Color - ReactNative.
Styles - ReactNative.
Styles. Flex - ReactNative.
Styles. Image - ReactNative.
Styles. Text - ReactNative.
Unsafe. ApplyProps - ReactNative.
Unsafe. Components