h2qutc / angular-material-components

Angular Material Library provide extra components for every project
https://h2qutc.github.io/angular-material-components/
MIT License
331 stars 162 forks source link

Custom timepicker icons #276

Open dneuland opened 2 years ago

dneuland commented 2 years ago

For the timepicker I would like to change the increase and decrease buttons content, like to use a text, image or a different icon, for example a FontAwesome icon.

I think it is possible to implement one of this solutions:

  1. Add a template to customize the timepicker

<ngx-mat-datetime-picker...> <ng-template #timepicker>...</ng-template> </ngx-mat-datetime-picker>

  1. Or add an input to indicate the custom timepicker type as in the MatDatepicker header.

<ngx-mat-datetime-picker... [timePickerComponentTemplate]="..."> </ngx-mat-datetime-picker>

  1. Or use svg images instead of material icons

I would like to contribute to developing a solution. How could I proceed with the implementation?

yalesnikov commented 11 months ago

Is any solution?