javascript - Angular mg-select change placeholder behavior -
i'm building angular app angular material. want edit behavior of placeholder. behavior of placeholder comes material.js
const transformplaceholder = trigger('transformplaceholder', [ state('floating-ltr', style({ top: '-22px', left: '-2px', transform: 'scale(0.75)' })), state('floating-rtl', style({ top: '-22px', left: '2px', transform: 'scale(0.75)' })), transition('* => *', animate('400ms cubic-bezier(0.25, 0.8, 0.25, 1)')) ]);
html:
<md-select [(ngmodel)]="selectedvalue" placeholder="number of people" > <md-option *ngfor="let number of numberofpeople" [value]="number.value">{{number.viewvalue}}</md-option> </md-select>
i tried find information in material documentation without luck. there way overwrite variables form template controller?
Comments
Post a Comment