🌐 AI搜索 & 代理 主页
Skip to content

Commit e5079dd

Browse files
authored
chore(docs): minor updates to dropdown docs (#3931)
1 parent dea8204 commit e5079dd

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

src/components/dropdown/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,7 @@ export default {
583583
}
584584
```
585585

586-
Refer to the [Events](/docs/components/dropdown#component-reference) section of documentation for
587-
the full list of events.
586+
Refer to the [Events](#component-reference) section of documentation for the full list of events.
588587

589588
## Optionally scoped default slot
590589

src/components/dropdown/package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,26 @@
4646
{
4747
"event": "click",
4848
"description": "Emitted when split button is clicked in split mode."
49+
},
50+
{
51+
"event": "bv::dropdown::show",
52+
"description": "Emitted on $root just before dropdown is shown. Cancelable.",
53+
"args": [
54+
{
55+
"arg": "bvEvt",
56+
"description": "BvEvent object. Call bvEvt.preventDefault() to cancel show."
57+
}
58+
]
59+
},
60+
{
61+
"event": "bv::dropdown::hide",
62+
"description": "Emitted on $root just before dropdown is hidden. Cancelable.",
63+
"args": [
64+
{
65+
"arg": "bvEvt",
66+
"description": "BvEvent object. Call bvEvt.preventDefault() to cancel hide."
67+
}
68+
]
4969
}
5070
],
5171
"slots": [

0 commit comments

Comments
 (0)