vue-async-methods
vue-async-methods copied to clipboard
Async method support for vue with relevant state variables for use in the UI.
This means instead of using `require('module-name')` we use `import myModule from 'my-module'` And instead of `module.exports = {}` we use `export const something = function` etc. Read more about modules...
https://github.com/mokkabonna/vue-async-methods/blob/85e59f254c98087a3748372e51fd4771fd30a620/index.js#L3 Double check that all elements listed here https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements are included
Consider having an option to choose if the current value of the 1st call is kept until the 2nd value has returned. Currently it is set to null. Sometimes you...
The default value is now null. It could be handy if especially for methods that return an array to have the init value be an empty array. Just don't want...