Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OnClick vs OnAsyncClick
#1
Hi,
Can anyone tel me the difference?
Reply
#2
OnClick will cause a full page refresh, async will only cause parts of the page to update which have changed.
Reply
#3
Thank you.
So, Async is "better / more efficiënt"....
Why than not open a onAsyncClick when double click the component?
Reply
#4
It depends on the need. Some operations require a full refresh. Most times async is better.

Double click goes to onclick because that functionality has existed since long before we had async support.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)