381e2acd18
Summary: This is related to the discussion in #3155. I've documented the methods in this mixin, and pointed to other appropriate documentation where necessary as well. I didn't end up adding any examples. I wanted to add a `focus()`/`blur()` example to the UIExplorer app, but the app seems to be broken on master at the moment (`Requiring unknown module "event-target-shim"`) and I didn't bother trying to fix it. I think the last thing necessary for making the usage of these methods clear is an example of calling one or more of them on a `ref` or view captured in some other way. However, `setNativeProps` is well documented in the "Direct Manipulation" guide, which I link to from this page, so by extension it should be possible to figure out the functionality of the other methods. cc @mkonicek @astreet Closes https://github.com/facebook/react-native/pull/3238 Reviewed By: @svcscm Differential Revision: D2517187 Pulled By: @mkonicek fb-gh-sync-id: 4e68b2bc44ace83f06ae2e364ca0c23a7c461b20 |
||
---|---|---|
.. | ||
IOSDefaultEventPluginOrder.js | ||
IOSNativeBridgeEventPlugin.js | ||
NativeMethodsMixin.js | ||
WarningBox.js | ||
renderApplication.android.js | ||
renderApplication.ios.js | ||
requireNativeComponent.js | ||
verifyPropTypes.js |