You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
* Appends the react dropdown menu to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`.
Copy file name to clipboardExpand all lines: packages/docs/content/api/CConditionalPortal.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CConditionalPortal from '@coreui/react/src/components/conditional-portal/
7
7
8
8
| Property| Description| Type| Default|
9
9
| ---| ---| ---| ---|
10
-
|**container****_v4.11.0+_**| An HTML element or function that returns a single element, with`document.body` as the default.|`DocumentFragment`\|`Element`\|`(() => DocumentFragment`\|`Element)`| -|
10
+
|**container****_4.11.0+_**| An HTML element or function that returns a single element, with`document.body` as the default.|`DocumentFragment`\|`Element`\|`(() => DocumentFragment`\|`Element)`| -|
11
11
|**portal**| Render some children into a different part of the DOM|`boolean`| -|
Copy file name to clipboardExpand all lines: packages/docs/content/api/CDropdown.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ import CDropdown from '@coreui/react/src/components/dropdown/CDropdown'
11
11
|**as**| Component used for the root node. Either a string to use a HTML element or a component.|`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'div')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| div|
12
12
|**autoClose**| Configure the auto close behavior of the dropdown:<br/>-`true` - the dropdown will be closed by clicking outside or inside the dropdown menu.<br/>-`false` - the dropdown will be closed by clicking the toggle button and manually calling hide or toggle method. (Also will not be closed by pressing esc key)<br/>-`'inside'` - the dropdown will be closed (only) by clicking inside the dropdown menu.<br/>-`'outside'` - the dropdown will be closed (only) by clicking outside the dropdown menu.|`boolean`\|`'inside'`\|`'outside'`| true|
13
13
|**className**| A string of all className you want applied to the base component.|`string`| -|
14
-
|**container****_v4.11.0+_**| Appends the react dropdown menu to a specific element. You can pass an HTML element or function that returns a single element. By default`document.body`.|`Element`\|`DocumentFragment`\|`(() => Element`\|`DocumentFragment)`| -|
14
+
|**container****_4.11.0+_**| Appends the react dropdown menu to a specific element. You can pass an HTML element or function that returns a single element. By default`document.body`.|`Element`\|`DocumentFragment`\|`(() => Element`\|`DocumentFragment)`| -|
15
15
|**dark**| Sets a darker color scheme to match a dark navbar.|`boolean`| -|
16
16
|**direction**| Sets a specified direction and location of the dropdown menu.|`'center'`\|`'dropup'`\|`'dropup-center'`\|`'dropend'`\|`'dropstart'`| -|
17
17
|**offset**| Offset of the dropdown menu relative to its target.|`[number, number]`|[0, 2]|
Copy file name to clipboardExpand all lines: packages/docs/content/api/CDropdownToggle.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ import CDropdownToggle from '@coreui/react/src/components/dropdown/CDropdownTogg
15
15
|**custom**| Create a custom toggler which accepts any content.|`boolean`| -|
16
16
|**disabled**| Toggle the disabled state for the component.|`boolean`| -|
17
17
|**href**| The href attribute specifies the URL of the page the link goes to.|`string`| -|
18
-
|**navLink****_v5.0.0+_**| If a dropdown`variant` is set to`nav-item` then render the toggler as a link instead of a button.|`boolean`| true|
18
+
|**navLink****_5.0.0+_**| If a dropdown`variant` is set to`nav-item` then render the toggler as a link instead of a button.|`boolean`| true|
19
19
|**role**| The role attribute describes the role of an element in programs that can make use of it, such as screen readers or magnifiers.|`string`| -|
20
20
|**shape**| Select the shape of the component.|`'rounded'`\|`'rounded-top'`\|`'rounded-end'`\|`'rounded-bottom'`\|`'rounded-start'`\|`'rounded-circle'`\|`'rounded-pill'`\|`'rounded-0'`\|`'rounded-1'`\|`'rounded-2'`\|`'rounded-3'`\|`string`| -|
21
21
|**size**| Size the component small or large.|`'sm'`\|`'lg'`| -|
Copy file name to clipboardExpand all lines: packages/docs/content/api/CPopover.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ import CPopover from '@coreui/react/src/components/popover/CPopover'
9
9
| ---| ---| ---| ---|
10
10
|**animation****_4.9.0+_**| Apply a CSS fade transition to the popover.|`boolean`| true|
11
11
|**className**| A string of all className you want applied to the component.|`string`| -|
12
-
|**container****_v4.11.0+_**| Appends the react popover to a specific element. You can pass an HTML element or function that returns a single element. By default`document.body`.|`Element`\|`DocumentFragment`\|`(() => Element`\|`DocumentFragment)`| -|
12
+
|**container****_4.11.0+_**| Appends the react popover to a specific element. You can pass an HTML element or function that returns a single element. By default`document.body`.|`Element`\|`DocumentFragment`\|`(() => Element`\|`DocumentFragment)`| -|
13
13
|**content**| Content node for your component.|`ReactNode`| -|
14
14
|**delay****_4.9.0+_**| The delay for displaying and hiding the popover (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay:`{ 'show': 500, 'hide': 100 }`.|`number`\|`{ show: number; hide: number; }`| 0|
15
15
|**fallbackPlacements****_4.9.0+_**| Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference.|`Placements`\|`Placements[]`|['top', 'right', 'bottom', 'left']|
Copy file name to clipboardExpand all lines: packages/docs/content/api/CTooltip.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ import CTooltip from '@coreui/react/src/components/tooltip/CTooltip'
9
9
| ---| ---| ---| ---|
10
10
|**animation****_4.9.0+_**| Apply a CSS fade transition to the tooltip.|`boolean`| true|
11
11
|**className**| A string of all className you want applied to the component.|`string`| -|
12
-
|**container****_v4.11.0+_**| Appends the react tooltip to a specific element. You can pass an HTML element or function that returns a single element. By default`document.body`.|`Element`\|`DocumentFragment`\|`(() => Element`\|`DocumentFragment)`| -|
12
+
|**container****_4.11.0+_**| Appends the react tooltip to a specific element. You can pass an HTML element or function that returns a single element. By default`document.body`.|`Element`\|`DocumentFragment`\|`(() => Element`\|`DocumentFragment)`| -|
13
13
|**content**| Content node for your component.|`ReactNode`| -|
14
14
|**delay****_4.9.0+_**| The delay for displaying and hiding the tooltip (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay:`{ 'show': 500, 'hide': 100 }`.|`number`\|`{ show: number; hide: number; }`| 0|
15
15
|**fallbackPlacements****_4.9.0+_**| Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference.|`Placements`\|`Placements[]`|['top', 'right', 'bottom', 'left']|