ic-design-system
ic-design-system copied to clipboard
Add code examples of setFocus method to components
Summary
A number of components have a setFocus() method. However, there are no examples of how to use the method.
It would be good to add examples (with ability to launch in stackblitz)
- ic-accordion
- ic-accordion-group
- ic-breadcrumb
- ic-button
- ic-card
- ic-checkbox
- ic-chip
- ic-link
- ic-navigation-button
- ic-navigation-group
- ic-navigation-item
- ic-radio-option
- ic-search-bar
- ic-select
- ic-switch
- ic-tab
- ic-text-field
Need to decide if this should be done for every component that supports the method
💰 Use value
Helps developer understand how to interact with the components