Angular material mat-datepicker tag, how to choose only the year and month, not the date?

mat-datepicker read the document through Google Translation and did not find out how to choose only the year and year. Does anyone know how to use it? if anyone does, by the way, tell me how to format MM/YYYY into YYYY/MM,. I reported all kinds of errors according to API"s format

.
Menu