Skip to content

Commit

Permalink
Merge pull request #6 from Alexwijn/patch-1
Browse files Browse the repository at this point in the history
Added support for object-oriented button class
  • Loading branch information
zcfan authored Apr 23, 2019
2 parents 6a16142 + 94768e3 commit 88826de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vue-ladda.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -65,4 +65,4 @@
<style lang="scss">
// TODO: make themed a option?
@import '~ladda/css/ladda-themed.scss';
</style>
</style>

0 comments on commit 88826de

Please sign in to comment.