feat(ripple): adds unbounded ripple-effect (#16399)

This commit is contained in:
Manu MA
2018-11-20 23:37:54 +01:00
committed by GitHub
parent 4dd4ccc4ce
commit 2884076834
12 changed files with 72 additions and 15 deletions

View File

@ -652,13 +652,14 @@ export class ReorderGroup {
}
export declare interface RippleEffect extends StencilComponents<'IonRippleEffect'> {}
@Component({ selector: 'ion-ripple-effect', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '<ng-content></ng-content>' })
@Component({ selector: 'ion-ripple-effect', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '<ng-content></ng-content>', inputs: ['type'] })
export class RippleEffect {
constructor(c: ChangeDetectorRef, r: ElementRef) {
c.detach();
const el = r.nativeElement;
proxyMethods(this, el, ['addRipple']);
proxyInputs(this, el, ['type']);
}
}