Skip to content

Commit 3a222d7

Browse files
committed
Update chip docs
1 parent a55133c commit 3a222d7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/web-components/src/components/cbp-chip/cbp-chip.specs.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Meta } from '@storybook/addon-docs';
66

77
## Purpose
88

9-
The Chip component acts like an interactive version of Tags and is typically used for selecting or filtering.
9+
The Chip component acts like an interactive version of the Tag and is typically used for selecting or filtering.
1010

1111
## Functional Requirements
1212

@@ -19,8 +19,9 @@ The Chip component acts like an interactive version of Tags and is typically use
1919
### User Interactions
2020

2121
* A chip renders a `button` element and may be toggled with the pointer or keyboard.
22-
* The chip has visible pressed and not pressed states.
23-
* Any behavior based on toggling the state of the chip is application-defined.
22+
* The chip has visible pressed and not pressed states that are also toggled.
23+
* A custom `chipClick` event is emitted when the chip is toggled by user interaction.
24+
* Any behavior based on toggling the state of the chip is application-defined.
2425

2526
### Responsiveness
2627

packages/web-components/src/components/cbp-chip/cbp-chip.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ export class CbpChip {
5858
});
5959
}
6060

61-
6261
componentWillLoad() {
6362
this.ariaPressed = this.pressed ? true : false;
6463

0 commit comments

Comments
 (0)