react-native-windows-samples icon indicating copy to clipboard operation
react-native-windows-samples copied to clipboard

Missing documentation coverage: CallJsFunction

Open namrog84 opened this issue 3 years ago • 2 comments

There is example documentation showing EmitJsEvent, but there is also the public API for CallJSFunction. It'd be great to have a simple example in the example app or whatever somewhere.

Just something to point to people who want to use CallJsFunction as a valid thing, and expected parameters (basically just add 'emit')

namrog84 avatar May 13 '21 02:05 namrog84

Sounds like we have API documentation, but not usage documentation. Clarification could be had around EmitJsEvent (tied to a JS event emitter) and DispatchEvent (tired to a View) and 'CallJsFunction' (lower level function call)

chrisglein avatar May 13 '21 18:05 chrisglein

Also worth answering what exists in core and what documentation exists there.

chrisglein avatar May 13 '21 18:05 chrisglein