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
Copy file name to clipboardExpand all lines: README.md
+9-34Lines changed: 9 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,40 +108,15 @@ Add `vue-wait/nuxt` to modules section of `nuxt.config.js`
108
108
109
109
You can use this options for customize VueWait behavior.
110
110
111
-
#### `accessorName`
112
-
113
-
`String` value, `$wait` by default, you can change this value to rename the accessor.
114
-
115
-
E.g. if you rename this to `$w`, your `VueWait` methods will be accessible by `$w.isWaiting(..)` etc.
116
-
117
-
#### `useVuex`
118
-
119
-
`Boolean` value, `false` by default, use this value for enabling
120
-
integration with `Vuex` store
121
-
122
-
When this value is true `VueWait` will store data in `Vuex` store
123
-
and all changes to this data will be made by dispatching actions to store
124
-
125
-
#### `vuexModuleName`
126
-
127
-
`String` value, `loading` by default.
128
-
Name for `Vuex` store if `useVuex` set to true, otherwise not used.
129
-
130
-
#### `registerComponent`
131
-
132
-
`Boolean` value, `true` by default, registers `v-wait` component.
133
-
134
-
#### `componentName`
135
-
136
-
`String` value, `v-wait` by default, changes `v-wait` component name.
137
-
138
-
#### `registerDirective`
139
-
140
-
`Boolean` value, `true` by default, registers `v-wait` directive.
141
-
142
-
#### `directiveName`
143
-
144
-
`String` value, `wait` by default, changes `v-wait` directive name.
111
+
| Option Name | Type | Default | Description |
112
+
| ----------- | ---- | ------- | ----------- |
113
+
|`accessorName`|`String`|`"$wait"`| You can change this value to rename the accessor. E.g. if you rename this to `$w`, your `VueWait` methods will be accessible by `$w.isWaiting(..)` etc. |
114
+
|`useVuex`|`Boolean`|`false`| Use this value for enabling integration with `Vuex` store. When this value is true `VueWait` will store data in `Vuex` store and all changes to this data will be made by dispatching actions to store |
115
+
|`vuexModuleName`|`String`|`"wait"`| Name for `Vuex` store if `useVuex` set to true, otherwise not used. |
0 commit comments