Even if I tap the sample application 4-1, it won't stop.

Asked 2 years ago, Updated 2 years ago, 94 views

I just bought an official guidebook and started studying.I created a sample app 4-1, but the animation works, but it doesn't stop when I tap the screen.

https://ja.monaca.io/book/support/

If you download the sample application from the above URL, the result will be the same.What's wrong?

function toggleAnimation(){
      $(".run").toggleClass("stop");
  }

I ran it with "console.log" before and after the second line, but the previous log of the second line was printed, but the latter log was not printed.

It can be a solution, such as an analysis method.
May I speak to you?

monaca

2022-09-30 19:44

1 Answers

I downloaded the sample application 4-1.zip and imported it from Import Project to work, but it stops and plays with the preview and Monaca debugger without any problems.
Select FileAdd/Remove JS/CSS Components from the Monaca Cloud IDE to see if jQuery(Monaca Version) has been added.


2022-09-30 19:44

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.