DropdownList
PDropdownList toggles a floating menu, typically for per-row actions.
Demo
Usage
<PDropdownList v-model="menuOpen" title="Actions">
<button class="px-2 py-1">Edit</button>
<button class="px-2 py-1">Archive</button>
Props
| Prop | Type | Default | Notes |
|---|
title | String | '' | Title attribute on the trigger button. |
buttonSize | String | md | Button size for the trigger. |
value | Boolean | false | Controls open state (v-model). |
disabled | Boolean | false | Disables the trigger. |
Events
| Event | Payload | Description |
|---|
input | Boolean | Emits open/close state. |
Slots
| Slot | Description |
|---|
icon | Optional trigger icon. |
| default | Dropdown content. |