Top GitHub Comments
For i18n, it would be much easier if we could globally inject the “OK” and “CANCEL” translations, maybe along with theme? What do you think?
Thank you a lot 😃
On Tue, Sep 1, 2020 at 3:16 PM Michał Stawicki email@example.com wrote:
<ng-template #okButton> <ng-template #cancelButton>
And then referenced them like so:
<ngx-material-timepicker #timePicker [confirmBtnTmpl]="okButton" [cancelBtnTmpl]="cancelButton" .....></ngx-material-timepicker>
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Agranom/ngx-material-timepicker/issues/223#issuecomment-684776995, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHOUEWXU6KSXG3SYQW5ND6DSDTJXDANCNFSM4IZJN6AA .