From 960f7e1db20f8bc714ccfaa23b0509b3386ca571 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Sat, 5 Nov 2016 05:28:23 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/modal.html | 2 +- releases/next/docs/nativemethodsmixin.html | 2 +- releases/next/docs/statusbar.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/releases/next/docs/modal.html b/releases/next/docs/modal.html index a6df4d32a72..8677024e422 100644 --- a/releases/next/docs/modal.html +++ b/releases/next/docs/modal.html @@ -44,7 +44,7 @@ class ModalExample extends /View> ); } -}

Props #

animated bool #

Deprecated

Use the animationType prop instead.

animationType enum('none', 'slide', 'fade') #

The animationType prop controls how the modal animates.

  • slide slides in from the bottom
  • fade fades into view
  • none appears without an animation

onRequestClose Platform.OS === 'android' ? PropTypes.func.isRequired : PropTypes.func #

The onRequestClose prop allows passing a function that will be called once the modal has been dismissed.

On the Android platform, this is a required function.

onShow function #

The onShow prop allows passing a function that will be called once the modal has been shown.

transparent bool #

The transparent prop determines whether your modal will fill the entire view. Setting this to true will render the modal over a transparent background.

visible bool #

The visible prop determines whether your modal is visible.

iosonOrientationChange function #

The onOrientationChange callback is called when the orientation changes while the modal is being displayed. +}

Props #

animated bool #

Deprecated

Use the animationType prop instead.

animationType enum('none', 'slide', 'fade') #

The animationType prop controls how the modal animates.

  • slide slides in from the bottom
  • fade fades into view
  • none appears without an animation

onShow function #

The onShow prop allows passing a function that will be called once the modal has been shown.

transparent bool #

The transparent prop determines whether your modal will fill the entire view. Setting this to true will render the modal over a transparent background.

visible bool #

The visible prop determines whether your modal is visible.

androidonRequestClose Platform.OS === 'android' ? PropTypes.func.isRequired : PropTypes.func #

The onRequestClose callback is called when the user taps the hardware back button.

iosonOrientationChange function #

The onOrientationChange callback is called when the orientation changes while the modal is being displayed. The orientation provided is only 'portrait' or 'landscape'. This callback is also called on initial render, regardless of the current orientation.

iossupportedOrientations [enum('portrait', 'portrait-upside-down', 'landscape', 'landscape-left', 'landscape-right')] #

The supportedOrientations prop allows the modal to be rotated to any of the specified orientations. On iOS, the modal is still restricted by what's specified in your app's Info.plist's UISupportedInterfaceOrientations field.

You can edit the content above on GitHub and send us a pull request!

Examples #

Edit on GitHub
'use strict'; diff --git a/releases/next/docs/nativemethodsmixin.html b/releases/next/docs/nativemethodsmixin.html index de2b1b3f583..28886d5717d 100644 --- a/releases/next/docs/nativemethodsmixin.html +++ b/releases/next/docs/nativemethodsmixin.html @@ -19,7 +19,7 @@ has been completed in native.

static focus(0) #

Requests focus for the given input or view. The exact behavior triggered -will depend on the platform and type of view.

static blur(0) #

Removes focus from an input or view. This is the opposite of focus().

You can edit the content above on GitHub and send us a pull request!

← PrevNext →