mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
Refactor #5257 - For Panel
This commit is contained in:
parent
e40c2e7c9c
commit
a9164bdbde
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div :class="cx('root')" v-bind="ptm('root')">
|
||||
<div :class="cx('root')" v-bind="ptmi('root')">
|
||||
<div :class="cx('header')" v-bind="ptm('header')">
|
||||
<slot :id="id + '_header'" name="header" :class="cx('title')">
|
||||
<span v-if="header" :id="id + '_header'" :class="cx('title')" v-bind="ptm('title')">{{ header }}</span>
|
||||
|
@ -49,6 +49,7 @@ import BasePanel from './BasePanel.vue';
|
|||
export default {
|
||||
name: 'Panel',
|
||||
extends: BasePanel,
|
||||
inheritAttrs: false,
|
||||
emits: ['update:collapsed', 'toggle'],
|
||||
data() {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue