mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 17:42:15 +08:00
feat(ripple): adds unbounded ripple-effect (#16399)
This commit is contained in:
@ -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']);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user