Skip to content

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

Description

@AlmTalal

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

Activity

  1. AlmTalal commented on Jan 17, 2024

    @AlmTalal
    Author

    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

  2. dunhor commented on Jan 22, 2024

    @dunhor
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions