Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
isFocusable
Method · 0.95
render
Method · 0.95
Calls
2
isClickable
Method · 0.95
hasCover
Method · 0.95
Tested by
no test coverage detected