mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
perf(all): minify better by using arrow functions (#18730)
This commit is contained in:
@ -89,12 +89,12 @@ export class RippleEffect implements ComponentInterface {
|
||||
}
|
||||
}
|
||||
|
||||
function removeRipple(ripple: HTMLElement) {
|
||||
const removeRipple = (ripple: HTMLElement) => {
|
||||
ripple.classList.add('fade-out');
|
||||
setTimeout(() => {
|
||||
ripple.remove();
|
||||
}, 200);
|
||||
}
|
||||
};
|
||||
|
||||
const PADDING = 10;
|
||||
const INITIAL_ORIGIN_SCALE = 0.5;
|
||||
|
Reference in New Issue
Block a user