Working .on('click'
There is no problem.
myApp.onPageAfterAnimation('about', function (page) {
$$('#button1').on('click', function () {
alert('test');
Not Working .on('load'
Why?
myApp.onPageAfterAnimation('about', function (page) {
$$('#button1').on('load', function () {
alert('test');
onload event only supported HTML tags:
body, frame, iframe, img, input type="image", link, script, style
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With