I'm doing an angular project using angular material, while im using mat-icons it keeps coming before the interpolation even though i coded it after the interpolation enter image description here
i tried typing anything before of after the icon and the icon comes first no matter what
Sort by {{sort}} expand_more
I couldn't find it documented anywhere in the official docs for some reason (in neither
mat-buttonormat-iconparts at least). Lukcily, it's at least documented in the migration guide here.What you need to do since v15 is to add iconPositionEnd directive to the
mat-iconinside themat-button, e.g.EDIT: There already is a git issue about this feature not being documented here.