Skip to content

Commit

Permalink
Added support for object-oriented button class
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexwijn authored Apr 10, 2019
1 parent 6a16142 commit 94768e3
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 94768e3

Please sign in to comment.