You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**`loadable`** decorates a function to change loading state during its execution. It set state as loading when function init and unset on throws an error, on resolve or return a value.
106
+
- **`loadable`** decorates a function to change loading state during its execution. It sets the state as loading when function inits and unsets when it throws an error, when it resolves or when it returns a value.
107
+
108
+
> Second argument is the loading state name, is `"unknown"` when it's not defined.
97
109
98
110
```js
99
111
Vue.component('SignInForm', {
@@ -120,7 +132,7 @@ export default {
120
132
});
121
133
```
122
134
123
-
> It pass down the function arguments, reject the errors and resolve returned value.
135
+
> It passes down the function arguments, rejects the errors and resolves the returned value.
0 commit comments