mirror of
https://github.com/frappe/books.git
synced 2025-02-02 20:18:26 +00:00
Format Dropdown component
This commit is contained in:
parent
38fe97f602
commit
85cd531fc1
@ -1,10 +1,21 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="dropdown show">
|
<div class="dropdown show">
|
||||||
<a class="btn btn-sm btn-secondary dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
<a class="btn btn-sm btn-secondary dropdown-toggle"
|
||||||
|
href="#"
|
||||||
|
role="button"
|
||||||
|
id="dropdownMenuLink"
|
||||||
|
data-toggle="dropdown"
|
||||||
|
aria-haspopup="true"
|
||||||
|
aria-expanded="false">
|
||||||
{{label}}
|
{{label}}
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuLink">
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuLink">
|
||||||
<a class="dropdown-item" v-for="option in options" :key="option.label" @click="option.handler">{{option.label}}</a>
|
<a class="dropdown-item"
|
||||||
|
v-for="option in options"
|
||||||
|
:key="option.label"
|
||||||
|
@click="option.handler">
|
||||||
|
{{option.label}}
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user