Debounce trouble

  • Hi,
    I probably did something wrong, but I can’t get the debounce to work. When I’m calling someFunction it doesn’t log ‘save’ at all. This is most of the code I’m using to test. I’m calling someFunction with the @input of the range component. This works as ‘range changed’ does show in the console.

    methods: {
      someFunction: function () {
        Utils.debounce(function () {
        }, 300)

  • @kresten I’ve posted this small plugin, that does something similar:

    It will automatically limit the rate at which you can handle some button click on all component methods that start with “handle”.

Log in to reply

Looks like your connection to Quasar Framework was lost, please wait while we try to reconnect.