mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
chore: update docs
This commit is contained in:
parent
0c923ebf72
commit
628593fdae
3 changed files with 11 additions and 11 deletions
|
@ -2696,15 +2696,15 @@ None.
|
|||
|
||||
### Props
|
||||
|
||||
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
|
||||
| :-------------- | :------- | :--------------- | :------- | ------------------------------------------------------------------------------------------------ | ---------------------------- | ---------------------------------------------------- |
|
||||
| page | No | <code>let</code> | Yes | <code>number</code> | <code>1</code> | Specify the current page index |
|
||||
| total | No | <code>let</code> | No | <code>number</code> | <code>10</code> | Specify the total number of pages |
|
||||
| shown | No | <code>let</code> | No | <code>number</code> | <code>10</code> | Specify the total number of pages to show |
|
||||
| loop | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to loop the navigation |
|
||||
| forwardText | No | <code>let</code> | No | <code>string</code> | <code>"Next page"</code> | Specify the forward button text |
|
||||
| backwardText | No | <code>let</code> | No | <code>string</code> | <code>"Previous page"</code> | Specify the backward button text |
|
||||
| tooltipPosition | No | <code>let</code> | No | <code>"top" | "right" | "bottom" | "left" | "outside" | "inside"</code> | <code>"bottom"</code> | Set the position of the tooltip relative to the icon |
|
||||
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
|
||||
| :-------------- | :------- | :--------------- | :------- | ------------------------------------------------------------------------------------------------ | ---------------------------- | ------------------------------------------------------------------- |
|
||||
| page | No | <code>let</code> | Yes | <code>number</code> | <code>1</code> | Specify the current page index |
|
||||
| total | No | <code>let</code> | No | <code>number</code> | <code>10</code> | Specify the total number of pages |
|
||||
| shown | No | <code>let</code> | No | <code>number</code> | <code>10</code> | Specify the total number of pages to show |
|
||||
| loop | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to loop the navigation |
|
||||
| forwardText | No | <code>let</code> | No | <code>string</code> | <code>"Next page"</code> | Specify the forward button text |
|
||||
| backwardText | No | <code>let</code> | No | <code>string</code> | <code>"Previous page"</code> | Specify the backward button text |
|
||||
| tooltipPosition | No | <code>let</code> | No | <code>"top" | "right" | "bottom" | "left" | "outside" | "inside"</code> | <code>"bottom"</code> | Set the position of the tooltip relative to the pagination buttons. |
|
||||
|
||||
### Slots
|
||||
|
||||
|
|
|
@ -8524,7 +8524,7 @@
|
|||
{
|
||||
"name": "tooltipPosition",
|
||||
"kind": "let",
|
||||
"description": "Set the position of the tooltip relative to the icon",
|
||||
"description": "Set the position of the tooltip relative to the pagination buttons.",
|
||||
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"outside\" | \"inside\"",
|
||||
"value": "\"bottom\"",
|
||||
"isFunction": false,
|
||||
|
|
|
@ -40,7 +40,7 @@ export interface PaginationNavProps
|
|||
backwardText?: string;
|
||||
|
||||
/**
|
||||
* Set the position of the tooltip relative to the icon
|
||||
* Set the position of the tooltip relative to the pagination buttons.
|
||||
* @default "bottom"
|
||||
*/
|
||||
tooltipPosition?: "top" | "right" | "bottom" | "left" | "outside" | "inside";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue