MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / isFocusable

Method isFocusable

core/src/components/item/item.tsx:250–253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

248 }
249
250 private isFocusable(): boolean {
251 const focusableChild = this.el.querySelector('.ion-focusable');
252 return this.canActivate() || focusableChild !== null;
253 }
254
255 private hasStartEl() {
256 const startEl = this.el.querySelector('[slot="start"]');

Callers 2

buttonChangedMethod · 0.95
componentDidLoadMethod · 0.95

Calls 1

canActivateMethod · 0.95

Tested by

no test coverage detected