How to use the mint-ui.Indicator.open function in mint-ui

To help you get started, we’ve selected a few mint-ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github PassionZale / iMall / resources / assets / js / components / Attribute / Topic.vue View on Github external
fetchCommodies:function(){
                Indicator.open();
                let vm = this;
                vm.$http.post('/api/commodities/topic',{
                    topic_id : vm.$route.params.hashid
                }).then(function(response){
                    vm.$set('data',response.data);
                    vm.$nextTick(function(){
                        Indicator.close();
                        vm.data == '' ? vm.$set('empty',true) : vm.$set('empty',false);
                    });
                });
            }
        }
github PassionZale / iMall / resources / assets / js / components / Attribute / Plate.vue View on Github external
fetchCommodies:function(){
                Indicator.open();
                let vm = this;
                vm.$http.post('/api/commodities/plate',{
                    plate_id : vm.$route.params.hashid
                }).then(function(response){
                    vm.$set('data',response.data);
                    vm.$nextTick(function(){
                        Indicator.close();
                        vm.data == '' ? vm.$set('empty',true) : vm.$set('empty',false);
                    });
                });
            }
        }
github PassionZale / iMall / resources / assets / js / components / Address / AddressAdd.vue View on Github external
addAddress:function(){
                let vm = this;
                Indicator.open();
                vm.$http.post('/api/address',vm.form_data).then(function(response){
                    Indicator.close();
                    Toast({
                          message: response.data.message
                    });
                    if(response.data.code === 0){
                        window.history.go(-1);
                    }
                });
            }
        }
github PassionZale / iMall / resources / assets / js / components / Attribute / Category.vue View on Github external
fetchCommodies:function(){
                Indicator.open();
                let vm = this;
                vm.$http.post('/api/commodities/category',{
                    category_id : vm.$route.params.hashid
                }).then(function(response){
                    vm.$set('data',response.data);
                    vm.$nextTick(function(){
                        Indicator.close();
                        vm.data == '' ? vm.$set('empty',true) : vm.$set('empty',false);
                    });
                });
            }
        }
github PassionZale / iMall / resources / assets / js / components / Address / AddressEdit.vue View on Github external
deleteAddress:function(address){
                let vm = this;
                Indicator.open();
                vm.$http.delete('/api/address/'+address.id).then(function(response){
                    Indicator.close();
                    Toast({
                        message: response.data.message
                    });
                    if(response.data.code === 0){
                        window.history.go(-1);
                    }
                });
            }
        }

mint-ui

Mobile UI elements for vue.js

MIT
Latest version published 7 years ago

Package Health Score

57 / 100
Full package analysis