mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #4728
This commit is contained in:
parent
e8ebb9bf3f
commit
b957ea422d
16 changed files with 74 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div :ref="containerRef" :class="containerClass" :style="[style, sx('root')]" v-bind="ptm('root')" data-pc-name="speeddial">
|
||||
<slot name="button" :onClick="onClick">
|
||||
<slot name="button" :onClick="onClick" :toggleCallback="onClick">
|
||||
<SDButton
|
||||
type="button"
|
||||
:class="[cx('button'), buttonClass]"
|
||||
|
@ -138,9 +138,7 @@ export default {
|
|||
},
|
||||
onClick(event) {
|
||||
this.d_visible ? this.hide() : this.show();
|
||||
|
||||
this.isItemClicked = true;
|
||||
|
||||
this.$emit('click', event);
|
||||
},
|
||||
show() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue