autoFocusChild property

  1. @visibleForTemplate
  2. @ContentChild(AutoFocusDirective)
AutoFocusDirective? autoFocusChild
getter/setter pair

Set the auto focus child so that we can focus on it when the panel opens.

Unfortunately, this only selects the first AutoFocusDirective in the contents of the expansion panel, which means that if there is another AutoFocusDirective in an

Implementation

@visibleForTemplate
@ContentChild(AutoFocusDirective)
AutoFocusDirective? autoFocusChild;