Rename ripple create method

pull/5756/head
tugcekucukoglu 2024-05-15 09:38:43 +03:00
parent 162fc38bde
commit b583756a4e
1 changed files with 2 additions and 2 deletions

View File

@ -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,