Skip to content

Commit

Permalink
Add collapsed property to hide the palette initially
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Dierkes committed Feb 27, 2019
1 parent bbf6658 commit 7b17de3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/ColorPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,14 @@
disabled: {
default: false,
},
collapsed: {
default: false
}
},
data() {
return {
isPaletteIn: true,
isKnobIn: true,
isPaletteIn: !this.collapsed,
isKnobIn: !this.collapsed,
isPressed: false,
isRippling: false,
isDragging: false,
Expand Down

0 comments on commit 7b17de3

Please sign in to comment.