WebView#onLoadStart

onLoadStart function Invoked on load start

WebView#injectedJavaScript

injectedJavaScript string Sets the JS to be injected when the webpage loads.

Dimensions.get()

static get(dim) Initial dimensions are set before runApplication is called so they should be available before any other require's are run, but may be updated later. Note: Although dimensions are available immediately, they may change (e.g due to device rotation) so any rendering logic or styles that depend on these constants should try to call this function on every render, rather than caching the value (for example, using inline styles rather than setting a value in a StyleSheet). Example:

AsyncStorage.multiMerge()

static multiMerge(keyValuePairs, callback?) Merges existing values with input values, assuming they are stringified json. Returns a Promise object. Not supported by all native implementations. Example: // first user, initial values let UID234_object = { name: 'Chris', age: 30, traits: {hair: 'brown', eyes: 'brown'}, }; // first user, delta values let UID234_delta = { age: 31, traits: {eyes: 'blue', shoe_size: 10}, }; // second user, initial values let UID345_object = { name: 'Marge',

Animated#interpolate()

interpolate(config) Interpolates the value before updating the property, e.g. mapping 0-1 to 0-10.

ScrollView#bounces

iosbounces bool When true, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction. When false, it disables all bouncing even if the alwaysBounce* props are true. The default value is true.

NetInfo.addEventListener()

static addEventListener(eventName, handler) Invokes the listener whenever network status changes. The listener receives one of the connectivity types listed above.

AlertIOS.prompt()

static prompt(title, message?, callbackOrButtons?, type?, defaultValue?) Prompt the user to enter some text. title: string -- The dialog's title. message: string -- An optional message that appears above the text input. callbackOrButtons -- This optional argument should be either a single-argument function or an array of buttons. If passed a function, it will be called with the prompt's value when the user taps 'OK'. If passed an array of button configurations, each button should include a

ScrollView#scrollEnabled

scrollEnabled bool When false, the content does not scroll. The default value is true.

JavaScript Environment

JavaScript Runtime When using React Native, you're going to be running your JavaScript code in two environments: On iOS simulators and devices, Android emulators and devices React Native uses JavaScriptCore which is the JavaScript engine that powers Safari. On iOS JSC doesn't use JIT due to the absence of writable executable memory in iOS apps. When using Chrome debugging, it runs all the JavaScript code within Chrome itself and communicates with native code via WebSocket. So you are using V8