ic-design-system icon indicating copy to clipboard operation
ic-design-system copied to clipboard

Add code examples of setFocus method to components

Open ad9242 opened this issue 1 year ago • 0 comments

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

ad9242 avatar Jul 24 '24 15:07 ad9242