react-native-macos/Libraries
Calvin Freitas 7b62dc22ad Add example of getting window dimensions to Dimensions docs.
Summary:
This pull request adds an example to the Dimensions documentations.  Specifically, it gives an example of how to get the height and width from the window.

I'm submitting this documentation because discovering this information cost me some time and my hope is to save other folks time by having this info right in the docs generated from the comments in this file.

Let me know if you need anything else.
Closes https://github.com/facebook/react-native/pull/4211

Reviewed By: svcscm

Differential Revision: D2719953

Pulled By: androidtrunkagent

fb-gh-sync-id: 86d18e3847066211a013a50ce2f2a3e2032f5052
2015-12-23 10:07:12 -08:00
..
ART Mark `-[init]` w RCT_NOT_IMPLEMENTED 2015-11-14 06:29:27 -08:00
ActionSheetIOS Add tintColor for buttons. 2015-12-09 05:19:25 -08:00
AdSupport Text highlighting on iOS 2015-07-24 08:41:58 -08:00
Animated updated deprecated sample code in animation doc 2015-12-18 00:11:00 +08:00
AppRegistry Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
AppStateIOS revert D2372548 to fix initial app state issue 2015-09-25 13:25:26 -07:00
BatchedBridge Rename BridgeProfiling to Systrace for consistency 2015-12-11 03:53:19 -08:00
CameraRoll Bugfix - Typos 2015-12-15 09:09:32 -08:00
Components Add option for both min/max track image. 2015-12-21 10:30:39 -08:00
CustomComponents fix listview inefficiency for tail-fetching scenarios (part1) 2015-12-21 08:41:31 -08:00
DebugComponentHierarchy Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Device Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Devtools Use pre-bundled elements inspector 2015-10-29 11:21:32 -07:00
Fetch Add fetch's clone function to Request and Response prototypes 2015-10-30 10:57:33 -07:00
Geolocation Fix getCurrentPosition 2015-12-16 08:37:33 -08:00
Image added doc for image resizeMode 2015-12-15 17:34:29 -08:00
Inspector Inspecting stateless components. 2015-12-08 10:13:25 -08:00
Interaction Make InteractionManager.runAfterInteractions() return a Promise 2015-11-09 20:14:26 -08:00
JavaScriptAppEngine Inline require ExceptionsManager dependencies 2015-12-16 04:02:30 -08:00
LayoutAnimation Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
LinkingIOS Add support for Universal Links 2015-12-04 09:05:31 -08:00
Modal Improve Modal docs describing iOS only support 2015-12-05 18:48:28 -08:00
NativeApp Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Network Deploy v0.20.1 2015-12-18 17:04:29 -08:00
Picker Added support for styling the PickerIOS 2015-12-08 07:48:26 -08:00
Portal Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
PullToRefresh Update to PullToRefreshViewAndroid docs 2015-12-16 05:17:30 -08:00
PushNotificationIOS Bugfix - Typos 2015-12-15 09:09:32 -08:00
QuickPerformanceLogger added QPL for main interactions 2015-09-29 22:25:23 -07:00
RCTTest Rename RCTContextExecutor to RCTJSCExecutor 2015-12-16 02:51:28 -08:00
RKBackendNode Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
ReactIOS better error message for `propTypes` check 2015-12-09 04:06:31 -08:00
ReactNative Deploy v0.20.1 2015-12-18 17:04:29 -08:00
Sample Remove invariant of Sample.ios.js that is not used 2015-05-26 18:25:00 -07:00
Settings Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
Storage Batch AsyncStorage.multiGet calls 2015-12-03 09:10:29 -08:00
StyleSheet Bugfix - Typos 2015-12-15 09:09:32 -08:00
Text updated css-layout and fixed callsites 2015-12-21 10:18:41 -08:00
Utilities Add example of getting window dimensions to Dimensions docs. 2015-12-23 10:07:12 -08:00
Vibration Text highlighting on iOS 2015-07-24 08:41:58 -08:00
WebSocket Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
react-native Open souce the Android Dialog module 2015-12-17 11:11:13 -08:00
vendor add doc for native event in doc 2015-12-20 16:20:56 +08:00
Promise.js