Add rtl option to loading

This commit is contained in:
Sebastien Chopin 2017-08-29 13:58:45 +02:00
parent 2fc07a89b1
commit f65b2b80e1
2 changed files with 3 additions and 2 deletions

View File

@ -91,7 +91,7 @@ export default {
.progress {
position: fixed;
top: 0px;
left: 0px;
left: <%= loading.rtl === true ? 'auto' : '0px' %>;
right: 0px;
height: 2px;
width: 0%;

View File

@ -231,7 +231,8 @@ Options.defaults = {
color: 'black',
failedColor: 'red',
height: '2px',
duration: 5000
duration: 5000,
rtl: false
},
loadingIndicator: {},
transition: {