You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only other dependency is [tinycolor.js](https://github.com/bgrins/TinyColor) which is an exceptional color manipulation library.
55
+
Options may be set either by an options object on the `md-color-picker` attribute and/or using attributes. If an option is present on both the options object and as an attribute, the attribute will take precedence.
| random | random | Boolean | false | Select a random color on open |
91
+
| default | default | Color | "rgb(255,255,255)" | Default color |
92
+
| openOnInput | open-on-input | Boolean | true | Open color picker when user clicks on the input field. If disabled, color picker will only open when clicking on the preview. |
| spectrum | md-color-spectrum | Boolean | true | Show the spectrum tab. |
101
+
| sliders | md-color-sliders | Boolean | true | Show the sliders tab. |
102
+
| genericPalette | md-color-generic-palette | Boolean | true | Show the generic palette tab. |
103
+
| materialPalette | md-color-material-palette | Boolean | true | Show the material colors palette tab. |
104
+
| history | md-color-history | Boolean | true | Show the history tab. |
105
+
| defaultTab | md-color-default-tab | String, Int | "spectrum" | Which tab should be selected when opening. Can either be a string or index. If the value is an index, do not count hidden/disabled tabs. <ul><li>spectrum</li><li>sliders</li><li>genericPalette</li><li>materialPalette</li><li>history</li></ul> |
-webkit-transition: left cubic-bezier(0.25,0.8,0.25,1) 0.25s, right cubic-bezier(0.25,0.8,0.25,1) 0.25s, top cubic-bezier(0.25,0.8,0.25,1) 0.25s, bottom cubic-bezier(0.25,0.8,0.25,1) 0.25s;
272
277
transition: left cubic-bezier(0.25,0.8,0.25,1) 0.25s, right cubic-bezier(0.25,0.8,0.25,1) 0.25s, top cubic-bezier(0.25,0.8,0.25,1) 0.25s, bottom cubic-bezier(0.25,0.8,0.25,1) 0.25s;
0 commit comments