mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
parent
2df7b92269
commit
e4800d9627
7 changed files with 2 additions and 143 deletions
|
@ -1,6 +1,6 @@
|
|||
# Component Index
|
||||
|
||||
> 172 components exported from carbon-components-svelte@0.61.1.
|
||||
> 171 components exported from carbon-components-svelte@0.61.1.
|
||||
|
||||
## Components
|
||||
|
||||
|
@ -30,7 +30,6 @@
|
|||
- [`ContextMenuGroup`](#contextmenugroup)
|
||||
- [`ContextMenuOption`](#contextmenuoption)
|
||||
- [`ContextMenuRadioGroup`](#contextmenuradiogroup)
|
||||
- [`Copy`](#copy)
|
||||
- [`CopyButton`](#copybutton)
|
||||
- [`DataTable`](#datatable)
|
||||
- [`DataTableSkeleton`](#datatableskeleton)
|
||||
|
@ -895,29 +894,6 @@ None.
|
|||
|
||||
None.
|
||||
|
||||
## `Copy`
|
||||
|
||||
### Props
|
||||
|
||||
| Prop name | Kind | Reactive | Type | Default value | Description |
|
||||
| :-------------- | :--------------- | :------- | :----------------------------------------- | ---------------------- | ------------------------------------------------------ |
|
||||
| ref | <code>let</code> | Yes | <code>null | HTMLButtonElement</code> | <code>null</code> | Obtain a reference to the button HTML element |
|
||||
| feedback | <code>let</code> | No | <code>string</code> | <code>"Copied!"</code> | Set the feedback text shown after clicking the button |
|
||||
| feedbackTimeout | <code>let</code> | No | <code>number</code> | <code>2000</code> | Set the timeout duration (ms) to display feedback text |
|
||||
|
||||
### Slots
|
||||
|
||||
| Slot name | Default | Props | Fallback |
|
||||
| :-------- | :------ | :---- | :--------------------------------------------------------------------------------- |
|
||||
| -- | Yes | -- | <code>{#if animation}{feedback || $$restProps["aria-label"]}{/if}</code> |
|
||||
|
||||
### Events
|
||||
|
||||
| Event name | Type | Detail |
|
||||
| :----------- | :-------- | :----- |
|
||||
| click | forwarded | -- |
|
||||
| animationend | forwarded | -- |
|
||||
|
||||
## `CopyButton`
|
||||
|
||||
### Props
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue