Use button element
parent
028d3af4ef
commit
a7853038bf
|
@ -19,9 +19,9 @@
|
||||||
<h5>Advanced</h5>
|
<h5>Advanced</h5>
|
||||||
<Panel header="Header" :toggleable="true">
|
<Panel header="Header" :toggleable="true">
|
||||||
<template #icons>
|
<template #icons>
|
||||||
<a tabindex="0" class="p-panel-header-icon" @click="toggle">
|
<button class="p-panel-header-icon p-link" @click="toggle">
|
||||||
<span class="pi pi-cog"></span>
|
<span class="pi pi-cog"></span>
|
||||||
</a>
|
</button>
|
||||||
<Menu id="config_menu" ref="menu" :model="items" :popup="true" />
|
<Menu id="config_menu" ref="menu" :model="items" :popup="true" />
|
||||||
</template>
|
</template>
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||||
|
|
|
@ -63,9 +63,9 @@ import Panel from 'primevue/panel';
|
||||||
<h5>Advanced</h5>
|
<h5>Advanced</h5>
|
||||||
<Panel header="Header">
|
<Panel header="Header">
|
||||||
<template #icons>
|
<template #icons>
|
||||||
<a tabindex="0" class="p-panel-header-icon" @click="toggle">
|
<button class="p-panel-header-icon p-link" @click="toggle">
|
||||||
<span class="pi pi-cog"></span>
|
<span class="pi pi-cog"></span>
|
||||||
</a>
|
</button>
|
||||||
<Menu id="config_menu" ref="menu" :model="items" :popup="true" />
|
<Menu id="config_menu" ref="menu" :model="items" :popup="true" />
|
||||||
</template>
|
</template>
|
||||||
</Panel>
|
</Panel>
|
||||||
|
@ -189,9 +189,9 @@ import Panel from 'primevue/panel';
|
||||||
<h5>Advanced</h5>
|
<h5>Advanced</h5>
|
||||||
<Panel header="Header" :toggleable="true">
|
<Panel header="Header" :toggleable="true">
|
||||||
<template #icons>
|
<template #icons>
|
||||||
<a tabindex="0" class="p-panel-header-icon" @click="toggle">
|
<button class="p-panel-header-icon p-link" @click="toggle">
|
||||||
<span class="pi pi-cog"></span>
|
<span class="pi pi-cog"></span>
|
||||||
</a>
|
</button>
|
||||||
<Menu id="config_menu" ref="menu" :model="items" :popup="true" />
|
<Menu id="config_menu" ref="menu" :model="items" :popup="true" />
|
||||||
</template>
|
</template>
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||||
|
|
Loading…
Reference in New Issue