mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
SplitButton: data-pc-section naming fixes
This commit is contained in:
parent
7feca6e8a3
commit
ea7c1813f2
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div :class="containerClass" :style="style" v-bind="ptm('root')" data-pc-name="splitbutton" :data-pc-severity="severity">
|
||||
<slot>
|
||||
<PVSButton type="button" :class="cx('button')" :label="label" :disabled="disabled" :aria-label="label" @click="onDefaultButtonClick" :pt="ptm('button')" v-bind="buttonProps" :unstyled="unstyled">
|
||||
<PVSButton type="button" :class="cx('button')" :label="label" :disabled="disabled" :aria-label="label" @click="onDefaultButtonClick" :pt="ptm('button')" v-bind="buttonProps" :unstyled="unstyled" data-pc-section="button">
|
||||
<template v-if="icon" #icon="slotProps">
|
||||
<slot name="icon" :class="slotProps.class">
|
||||
<span :class="[icon, slotProps.class]" v-bind="ptm('button')['icon']" />
|
||||
|
@ -22,6 +22,7 @@
|
|||
:pt="ptm('menuButton')"
|
||||
v-bind="menuButtonProps"
|
||||
:unstyled="unstyled"
|
||||
data-pc-section="menubutton"
|
||||
>
|
||||
<template #icon="slotProps">
|
||||
<slot name="menubuttonicon" :class="slotProps.class">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue