File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/web-components/src/components/cbp-chip Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ export class CbpChip {
5858 } ) ;
5959 }
6060
61-
6261 componentWillLoad ( ) {
6362 this . ariaPressed = this . pressed ? true : false ;
6463
You can’t perform that action at this time.
0 commit comments