You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
493 B

<template>
<md-snackbar :md-position="position" :md-active.sync="loading" md-persistent>
<p>{{s_text}}</p>
</md-snackbar>
</template>
<script>
export default {
name: 'SnackLoader',
data: () => ({
loading: false
}),
props: {
position: {
type: String,
default: 'left'
},
s_text: {
type: String
}
},
methods: {
setLoading(b) {
this.loading = b;
}}
}
</script>
<style>
.md-snackbar {
background-color: #131213;
}
</style>