From 1536c6878e30cca3fef77e98130a9064e5cb0f92 Mon Sep 17 00:00:00 2001 From: Andrew Seguin Date: Tue, 15 Aug 2017 14:50:50 -0700 Subject: [PATCH] compat(ripple): add mat compatible inputs (#6390) * compat(ripple): add mat compatible inputs * add underline --- src/lib/core/ripple/ripple.ts | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/src/lib/core/ripple/ripple.ts b/src/lib/core/ripple/ripple.ts index 9616b842943..878453caaa1 100644 --- a/src/lib/core/ripple/ripple.ts +++ b/src/lib/core/ripple/ripple.ts @@ -82,6 +82,41 @@ export class MdRipple implements OnChanges, OnDestroy { /** Whether foreground ripples should be visible outside the component's bounds. */ @Input('mdRippleUnbounded') unbounded: boolean; + // Properties with `mat-` prefix for noconflict mode. + @Input('matRippleTrigger') + get _matRippleTrigger() { return this.trigger; } + set _matRippleTrigger(v) { this.trigger = v; } + + // Properties with `mat-` prefix for noconflict mode. + @Input('matRippleCentered') + get _matRippleCentered() { return this.centered; } + set _matRippleCentered(v) { this.centered = v; } + + // Properties with `mat-` prefix for noconflict mode. + @Input('matRippleDisabled') + get _matRippleDisabled() { return this.disabled; } + set _matRippleDisabled(v) { this.disabled = v; } + + // Properties with `mat-` prefix for noconflict mode. + @Input('matRippleRadius') + get _matRippleRadius() { return this.radius; } + set _matRippleRadius(v) { this.radius = v; } + + // Properties with `mat-` prefix for noconflict mode. + @Input('matRippleSpeedFactor') + get _matRippleSpeedFactor() { return this.speedFactor; } + set _matRippleSpeedFactor(v) { this.speedFactor = v; } + + // Properties with `mat-` prefix for noconflict mode. + @Input('matRippleColor') + get _matRippleColor() { return this.color; } + set _matRippleColor(v) { this.color = v; } + + // Properties with `mat-` prefix for noconflict mode. + @Input('matRippleUnbounded') + get _matRippleUnbounded() { return this.unbounded; } + set _matRippleUnbounded(v) { this.unbounded = v; } + /** Renderer for the ripple DOM manipulations. */ private _rippleRenderer: RippleRenderer;