scopedslot check added
parent
36f3e3f20e
commit
fa08915f75
|
@ -6,7 +6,7 @@
|
||||||
</slot>
|
</slot>
|
||||||
<ul ref="list" class="p-speeddial-list" role="menu">
|
<ul ref="list" class="p-speeddial-list" role="menu">
|
||||||
<li v-for="(item, index) of model" :key="index" class="p-speeddial-item" :style="getItemStyle(index)" role="none">
|
<li v-for="(item, index) of model" :key="index" class="p-speeddial-item" :style="getItemStyle(index)" role="none">
|
||||||
<template v-if="!$slots.item">
|
<template v-if="!$slots.item && !$scopedSlots.item">
|
||||||
<a :href="item.url || '#'" role="menuitem" :class="['p-speeddial-action', { 'p-disabled': item.disabled }]" :target="item.target"
|
<a :href="item.url || '#'" role="menuitem" :class="['p-speeddial-action', { 'p-disabled': item.disabled }]" :target="item.target"
|
||||||
v-tooltip:[tooltipOptions]="{value: item.label, disabled: !tooltipOptions}" @click="onItemClick($event, item)" v-ripple>
|
v-tooltip:[tooltipOptions]="{value: item.label, disabled: !tooltipOptions}" @click="onItemClick($event, item)" v-ripple>
|
||||||
<span v-if="item.icon" :class="['p-speeddial-action-icon', item.icon]"></span>
|
<span v-if="item.icon" :class="['p-speeddial-action-icon', item.icon]"></span>
|
||||||
|
@ -338,4 +338,4 @@ export default {
|
||||||
.p-speeddial-direction-right .p-speeddial-list {
|
.p-speeddial-direction-right .p-speeddial-list {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue