You just need to include the JQuery externs SWC and you can use JQuery like you would in a normal web app.
Check out manualtests/RoyaleTest_jquery. Just FYI: Beware or JQuery components. We found that JQuery components had a very bad performance impact on our app. We had two JQuery components which were responsible for most of the lag in our app. Getting rid of them had an incredible effect on performance. > On Feb 2, 2022, at 11:52 AM, Hugo Ferreira <hferreira...@gmail.com> wrote: > > I don't know what I should look at. I see a set of few components in a > folder, a binary jquery a config file but I don't see any sample how to use > jquery in Royale or a custom jquery. > > Yishay Weiss <yishayj...@hotmail.com> escreveu no dia quarta, 2/02/2022 > à(s) 07:47: > >> Have you looked at the jquery lib on royale-asjs ? >> >> >> From: Hugo Ferreira<mailto:hferreira...@gmail.com> >> Sent: Wednesday, February 2, 2022 4:26 AM >> To: Apache Royale Development<mailto:dev@royale.apache.org> >> Subject: Jquery >> >> Hi, >> >> I want to build a wrapper for a js library that requires JQuery. >> How to add JQuery to Royale App before loading the external library ? >> >> I already tried everything (loading dinamically on the wrapper) and also >> try to put directly on the html template and I didn't be able to put JQuery >> and this library working together. >> >>