mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix: expose loading.throttle as an option (#3953)
This commit is contained in:
parent
c8693da621
commit
55a153c7d0
@ -17,7 +17,7 @@ export default {
|
|||||||
percent: 0,
|
percent: 0,
|
||||||
show: false,
|
show: false,
|
||||||
canSuccess: true,
|
canSuccess: true,
|
||||||
throttle: 200,
|
throttle: <%= loading.throttle %>,
|
||||||
duration: <%= loading.duration %>,
|
duration: <%= loading.duration %>,
|
||||||
height: '<%= loading.height %>',
|
height: '<%= loading.height %>',
|
||||||
color: '<%= loading.color %>',
|
color: '<%= loading.color %>',
|
||||||
|
@ -175,6 +175,7 @@ export default {
|
|||||||
color: 'black',
|
color: 'black',
|
||||||
failedColor: 'red',
|
failedColor: 'red',
|
||||||
height: '2px',
|
height: '2px',
|
||||||
|
throttle: 200,
|
||||||
duration: 5000,
|
duration: 5000,
|
||||||
rtl: false
|
rtl: false
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user