jQuery UI Widgets Forums React How to addEventListener to a JqxEditor

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 1 year, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • mfearby
    Participant

    Before I started experimenting with jQWidgets in React, I was using jQuery to add a ‘keyup’ event listener to a jqxEditor (and this worked fine), but in React, I don’t seem to be able to (possibly because I’m not using jQuery anymore, and I don’t want to have to resort to using it).

    Are there any plans to support keypress/keydown/keyup listeners to JqxEditor in future?

    I’m going to have to use a plain textarea for now (luckily, it’s for plain text so I probably didn’t need to use a jqxEditor all along, but I’m sure I’ll need it one day).

    Thanks.


    Hristo
    Participant

    Hello mfearby,

    The default event is a change” event for the jqxEditor.
    On the other hand, if you want to use other events you could bind to them with natural way like you bind to wanted element.
    Please, take a look at this example.
    I hope this will help.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.