Added modal toggle mixin

This commit is contained in:
Joel Collins 2020-07-06 11:29:09 +01:00
parent 37a40024d8
commit ba091ed11a

View file

@ -129,6 +129,10 @@ Vue.mixin({
UIkit.modal(element).hide();
},
toggleModalElement: function(element) {
UIkit.modal(element).toggle();
},
getLocalStorageObj: function(keyName) {
if (localStorage.getItem(keyName)) {
try {