You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Template Parse errors: Can't bind to md-ripple-trigger/md-ripple-color #973
After updating to alpha 7, I get this error when loading my angular 2 application:
Template parse errors:
Can't bind to 'md-ripple-trigger' since it isn't a known property of 'div'. ("*ngIf="isRippleEnabled()" class="md-button-ripple" [class.md-button-ripple-round]="isRoundButton()" [ERROR ->][md-ripple-trigger]="getHostElement()" [md-ripple-color]="isRoundButton() ? 'rgba(255, 255, 255, 0.2)"): MdButton@0:180
Can't bind to 'md-ripple-color' since it isn't a known property of 'div'. ("ton-ripple" [class.md-button-ripple-round]="isRoundButton()" [md-ripple-trigger]="getHostElement()" [ERROR ->][md-ripple-color]="isRoundButton() ? 'rgba(255, 255, 255, 0.2)' : ''" md-ripple-background-color="rgb"): MdButton@0:219
changed the title [-]Template Parse errors: Cna't bind to md-ripple-trigger/md-ripple-color[/-][+]Template Parse errors: Can't bind to md-ripple-trigger/md-ripple-color[/+]on Aug 9, 2016
Activity
[-]Template Parse errors: Cna't bind to md-ripple-trigger/md-ripple-color[/-][+]Template Parse errors: Can't bind to md-ripple-trigger/md-ripple-color[/+]jelbourn commentedon Aug 9, 2016
@FabioCZ if you're not changing to
NgModules right away, then you need to also includeMD_RIPPLE_DIRECTIVESfrom core in yourdirectiveslist.FabioCZ commentedon Aug 9, 2016
@jelbourn thanks, got it to work
zakdances commentedon Aug 21, 2016
I'm usingNgModuleand I still need to includeMD_RIPPLE_DIRECTIVESor I get the same error.Nevermind, I forgot to
import { MdButtonModule } from '@angular2-material/buttonangular-automatic-lock-bot commentedon Sep 5, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.