MCPcopy Create free account
hub / github.com/ionic-team/ionic-framework / canActivate

Method canActivate

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

Source from the content-addressed store, hash-verified

244 }
245
246 private canActivate(): boolean {
247 return this.isClickable() || this.hasCover();
248 }
249
250 private isFocusable(): boolean {
251 const focusableChild = this.el.querySelector('.ion-focusable');

Callers 2

isFocusableMethod · 0.95
renderMethod · 0.95

Calls 2

isClickableMethod · 0.95
hasCoverMethod · 0.95

Tested by

no test coverage detected