From b583756a4edf779d1c8f1e008fe39272de4183f6 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 15 May 2024 09:38:43 +0300 Subject: [PATCH] Rename ripple create method --- components/lib/ripple/Ripple.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/ripple/Ripple.js b/components/lib/ripple/Ripple.js index 12d41892f..a1dcb3b41 100644 --- a/components/lib/ripple/Ripple.js +++ b/components/lib/ripple/Ripple.js @@ -5,7 +5,7 @@ const Ripple = BaseRipple.extend('ripple', { watch: { 'config.ripple'(newValue) { if (newValue) { - this.create(this.$host); + this.createRipple(this.$host); this.bindEvents(this.$host); this.$host.setAttribute('data-pd-ripple', true); @@ -28,7 +28,7 @@ const Ripple = BaseRipple.extend('ripple', { unbindEvents(el) { el.removeEventListener('mousedown', this.onMouseDown.bind(this)); }, - create(el) { + createRipple(el) { const ink = DomHandler.createElement('span', { role: 'presentation', 'aria-hidden': true,