Timeline for jQuery once callback function is not called [duplicate]
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 21, 2020 at 7:25 | comment | added | leymannx | Simply follow the samples in the docs on drupal.org/docs/8/api/javascript-api/javascript-api-overview. The callback is an each() now. That's all. | |
Apr 21, 2020 at 7:14 | history | closed |
No Sssweat Pierre.Vriens mradcliffe Yuseferi leymannx |
Duplicate of Understanding behaviors | |
Apr 15, 2020 at 14:06 | history | edited | golddragon007 | CC BY-SA 4.0 |
added 46 characters in body
|
Apr 15, 2020 at 14:05 | comment | added | golddragon007 | @NoSssweat No, it doesn't. I have no problems with the behaviours. I had a problem with the once function. In D7 it was used the 1.x version of it, where you had callback function, and I didn't understand why it's not working in D8. It turns out there's no callback in the D8 version because it's using the 2.x version of the once... Which does not have it. | |
Apr 14, 2020 at 17:05 | review | Close votes | |||
Apr 21, 2020 at 7:14 | |||||
Apr 14, 2020 at 13:58 | vote | accept | golddragon007 | ||
Apr 14, 2020 at 13:52 | answer | added | Clive♦ | timeline score: 2 | |
Apr 14, 2020 at 13:43 | history | asked | golddragon007 | CC BY-SA 4.0 |