md2-colorpicker
Native Angular2 Material Colorpicker directive
API
Example:
//HTML
//app-module.ts ; //component.ts...
Properties
[(ngModel)]
- string - (Default:#000
)- Two way data binding - It would be 'value' of color.[position]
- string - (Default:bottom
)(Optional) - position of colorpicker dialog, supported positions: 'right', 'left', 'top', 'bottom'.[format]
- string - (Default:hex
)(Optional) - color format, supported formats: 'hex', 'rgba', 'hsla'.