angular-ui / angular-google-maps

AngularJS directives for the Google Maps Javascript API
http://angular-ui.github.io/angular-google-maps
2.52k stars 1.07k forks source link

How to change text color in agm-snazzy-info-window #2029

Open Aleempathan opened 6 years ago

Aleempathan commented 6 years ago

<agm-snazzy-info-window *ngFor="let item of list" [maxWidth]="auto" [padding]="item.padding" [backgroundColor]="'rgb(249, 56, 56)'" [isOpen]="true" [latitude]="item.lat" [longitude]="item.lng" [borderRadius]="'50%'" [pointer]="'10px'">

{{item.lab}}
</agm-snazzy-info-window>

am also add [color]="white" but its not working. please help me out

frixtiglao commented 6 years ago

you have to use [fontColor]="'white'"