microsoft / react-native-winrt

Windows Runtime projection for React Native for Windows
MIT License
85 stars 11 forks source link

Explanation for how to use the CoreCursor class in React native windows with Javascript #295

Open AlmTalal opened 8 months ago

AlmTalal commented 8 months ago

Hey I need an explanation for how to use CoreCursor in RNW, the goal is to be able to change the cursor type when hovering over a view. However Im not able to replecate the behavior only by looking at the c++/winrt examples

AlmTalal commented 8 months ago

I'm gonna use some other winrt namespaces, so if someone could explain me how they are normally converted into js or what should be the documentation that I should read to covert the code into js it would be helpfull too

dunhor commented 7 months ago

Sorry, I'm not personally familiar with the CoreCursor API. Perhaps if you have specific questions about issues you are having we can help diagnose why examples from other languages are having issues when adapted to RNW.

As for other namespaces, please see the usage guide. There's instructions for how to include additional namespaces in the projection.