mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4848 - Dialog: PT options rename
This commit is contained in:
parent
07a57129eb
commit
3047b8a9fd
4 changed files with 10 additions and 10 deletions
|
@ -6,10 +6,10 @@
|
|||
<slot v-if="$slots.container" name="container" :onClose="close" :onMaximize="(event) => maximize(event)" :closeCallback="close" :maximizeCallback="(event) => maximize(event)"></slot>
|
||||
<template v-else>
|
||||
<div v-if="showHeader" :ref="headerContainerRef" :class="cx('header')" @mousedown="initDrag" v-bind="ptm('header')">
|
||||
<slot name="header" :class="cx('headerTitle')">
|
||||
<span v-if="header" :id="ariaLabelledById" :class="cx('headerTitle')" v-bind="ptm('headerTitle')">{{ header }}</span>
|
||||
<slot name="header" :class="cx('title')">
|
||||
<span v-if="header" :id="ariaLabelledById" :class="cx('title')" v-bind="ptm('title')">{{ header }}</span>
|
||||
</slot>
|
||||
<div :class="cx('headerIcons')" v-bind="ptm('headerIcons')">
|
||||
<div :class="cx('icons')" v-bind="ptm('icons')">
|
||||
<button
|
||||
v-if="maximizable"
|
||||
:ref="maximizableRef"
|
||||
|
@ -283,7 +283,7 @@ export default {
|
|||
}
|
||||
},
|
||||
initDrag(event) {
|
||||
if (event.target.closest('div').getAttribute('data-pc-section') === 'headericons') {
|
||||
if (event.target.closest('div').getAttribute('data-pc-section') === 'icons') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue