Use button element
parent
028d3af4ef
commit
a7853038bf
|
@ -19,9 +19,9 @@
|
|||
<h5>Advanced</h5>
|
||||
<Panel header="Header" :toggleable="true">
|
||||
<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>
|
||||
</a>
|
||||
</button>
|
||||
<Menu id="config_menu" ref="menu" :model="items" :popup="true" />
|
||||
</template>
|
||||
<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>
|
||||
<Panel header="Header">
|
||||
<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>
|
||||
</a>
|
||||
</button>
|
||||
<Menu id="config_menu" ref="menu" :model="items" :popup="true" />
|
||||
</template>
|
||||
</Panel>
|
||||
|
@ -189,9 +189,9 @@ import Panel from 'primevue/panel';
|
|||
<h5>Advanced</h5>
|
||||
<Panel header="Header" :toggleable="true">
|
||||
<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>
|
||||
</a>
|
||||
</button>
|
||||
<Menu id="config_menu" ref="menu" :model="items" :popup="true" />
|
||||
</template>
|
||||
<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