mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965 - Update for Sidebar
This commit is contained in:
parent
1625d6e4f5
commit
61cd94c2e5
2 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
|||
</div>
|
||||
<button v-if="showCloseIcon" :ref="closeButtonRef" v-ripple autofocus type="button" :class="cx('closeButton')" :aria-label="closeAriaLabel" @click="hide" v-bind="ptm('closeButton')">
|
||||
<slot name="closeicon">
|
||||
<component :is="closeIcon ? 'span' : 'TimesIcon'" :class="cx('closeIcon')" v-bind="ptm('closeIcon')"></component>
|
||||
<component :is="closeIcon ? 'span' : 'TimesIcon'" :class="[cx('closeIcon'), closeIcon]" v-bind="ptm('closeIcon')"></component>
|
||||
</slot>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -23,12 +23,12 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import BaseSidebar from './BaseSidebar.vue';
|
||||
import FocusTrap from 'primevue/focustrap';
|
||||
import TimesIcon from 'primevue/icons/times';
|
||||
import Portal from 'primevue/portal';
|
||||
import Ripple from 'primevue/ripple';
|
||||
import { DomHandler, ZIndexUtils } from 'primevue/utils';
|
||||
import BaseSidebar from './BaseSidebar.vue';
|
||||
|
||||
export default {
|
||||
name: 'Sidebar',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue