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

Commit b6dfd26

Browse files
authored
Update package.json
1 parent 2d4a986 commit b6dfd26

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

src/components/popover/package.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,54 @@
1414
{
1515
"prop": "target",
1616
"description": "Element string ID, or a reference to an element or component, that you want to trigger the popover."
17+
},
18+
{
19+
"prop": "title",
20+
"description": "Text to place in the popovers title"
21+
},
22+
{
23+
"prop": "content",
24+
"description": "Text to place in the body of the popover"
25+
},
26+
{
27+
"prop": "triggers",
28+
"description": "Specify which triggers will show the popover. Supported values are 'click', 'hover', 'focus'. Refer to the docs for special triggers 'blur' and 'manual'"
29+
},
30+
{
31+
"prop": "placement",
32+
"description": "Placement of the popover: One of 'top', 'bottom', 'right', 'left', 'top-left', 'top-right', 'bottom-left', 'bottom-right', 'left-top', 'left-bottom', 'right-top', 'right-bottom'"
33+
},
34+
{
35+
"prop": "fallbackPlacement",
36+
"description": "placement to use when the popover would be out of boundaries. Refer to the docs for more details"
37+
},
38+
{
39+
"prop": "customClass",
40+
"description": "CSS class (or classes) to apply to the popover's root element"
41+
},
42+
{
43+
"prop": "delay",
44+
"description": "Value for the show and hide delay. Applies to both show and hide when specified as a number or string. Use object form to set show and hide delays individually"
45+
},
46+
{
47+
"prop": "boundary",
48+
"description": "The boundary constraint of the popover: 'scrollParent', 'window', 'viewport', or a reference to an HTMLElement or component"
49+
},
50+
{
51+
"prop": "boundaryPadding",
52+
"description": "The popover will try and stay away from the edge of the boundary element by the number of pixels specificed"
53+
},
54+
{
55+
"prop": "offset",
56+
"description": "Offset (in pixels) for the arrow center compared to the trigger target element"
57+
},
58+
{
59+
"prop": "container",
60+
"description": "The container element to append the rendered popover when visible. Default's to the body element"
61+
},
62+
{
63+
"prop": "show",
64+
"description": "When set will show the popover"
1765
}
1866
],
1967
"events": [

0 commit comments

Comments
 (0)