mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
compat(ripple): add mat compatible inputs (#6390)
* compat(ripple): add mat compatible inputs * add underline
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user