diff --git a/docs/nativemodulesios.html b/docs/nativemodulesios.html index 62e32a00c8d..8a5ae1b568a 100644 --- a/docs/nativemodulesios.html +++ b/docs/nativemodulesios.html @@ -48,21 +48,12 @@ CalendarManager.}
The same way if the operation can take a long time to complete, the native module should not block. It is a good idea to use dispatch_async to schedule expensive work on background queue.
Native module can export constants that are instantly available to JavaScript at runtime. This is useful to export some initial data that would otherwise require a bridge round-trip.
JavaScript can use this value right away:
Note that the constants are exported only at initialization time, so if you change constantsToExport value at runtime it won't affect JavaScript environment.
The native module can signal events to JavaScript without being invoked directly. The easiest way to do this is to use eventDispatcher:
JavaScript can use this value right away:
Note that the constants are exported only at initialization time, so if you change constantsToExport value at runtime it won't affect JavaScript environment.
The native module can signal events to JavaScript without being invoked directly. The easiest way to do this is to use eventDispatcher:
JavaScript code can subscribe to these events:
JavaScript code can subscribe to these events: