Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

Commit

Permalink
feat(fab): Add exited state (fixes #27)
Browse files Browse the repository at this point in the history
  • Loading branch information
matsp committed Dec 10, 2017
1 parent 5686399 commit 44eda66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion components/Fab/Fab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ export default {
type: Boolean,
required: false
},
exited: {
type: Boolean,
required: false
},
icon: {
type: String,
required: true
Expand All @@ -36,7 +40,8 @@ export default {
classes () {
return {
'mdc-fab--mini': this.mini,
'mdc-fab--absolute-right': this.absoluteRight
'mdc-fab--absolute-right': this.absoluteRight,
'mdc-fab--exited': this.exited
}
}
},
Expand Down
1 change: 1 addition & 0 deletions components/Fab/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
| mini | Boolean | - | false | mini fab button |
| icon | String | - | true | fab icon |
| absoluteRight | Boolean | - | false | whether the fab should be rendered on the bottom right |
| exited | Boolean | - | false | animates the fab out of view |
| interactive | Boolean | - | false | fab with ripple effect |

Events are mapped to the inner button element.
Expand Down

0 comments on commit 44eda66

Please sign in to comment.