Yoshie Muranaka | 3be801a | 2020-04-21 11:34:56 -0700 | [diff] [blame] | 1 | const LoadingBarMixin = { |
2 | methods: { | ||||
3 | startLoader() { | ||||
4 | this.$root.$emit('loader::start'); | ||||
5 | }, | ||||
6 | endLoader() { | ||||
7 | this.$root.$emit('loader::end'); | ||||
8 | }, | ||||
9 | hideLoader() { | ||||
10 | this.$root.$emit('loader::hide'); | ||||
11 | } | ||||
12 | } | ||||
13 | }; | ||||
14 | |||||
15 | export default LoadingBarMixin; |