brianpkelley / md-color-picker

Angular-Material based color picker
MIT License
254 stars 119 forks source link

Option to disable the Input Field #125

Open k17n opened 6 years ago

k17n commented 6 years ago

Is there anyway to disable the input field so that the preview div can be used like a button to trigger the dialogue box?

Something like a boolean attribute hide-input-field="true"

It would be great if we could assign the same functionality to a md-button instead of a div, which on clicking can trigger the dialogue box.