From 94768e361e597eaf43bd2e98cbf43be5d58ae44c Mon Sep 17 00:00:00 2001 From: Alex Wijnholds <1023654+Alexwijn@users.noreply.github.com> Date: Wed, 10 Apr 2019 14:40:58 +0200 Subject: [PATCH] Added support for object-oriented button class --- src/vue-ladda.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vue-ladda.vue b/src/vue-ladda.vue index 9550cd4..0e6967c 100644 --- a/src/vue-ladda.vue +++ b/src/vue-ladda.vue @@ -13,7 +13,7 @@ props: { // customizable button's class attribute - you can use your own CSS class 'buttonClass': { - type: String, + type: [String, Object], default: 'ladda-button' }, // use vue props validation to make sure "data-style" is given. (ladda need it) @@ -65,4 +65,4 @@ \ No newline at end of file +