Added modal toggle mixin
This commit is contained in:
parent
37a40024d8
commit
ba091ed11a
1 changed files with 4 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue