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

Method isClickable

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

Source from the content-addressed store, hash-verified

240 // If the item has an href or button property it will render a native
241 // anchor or button that is clickable
242 private isClickable(): boolean {
243 return this.href !== undefined || this.button;
244 }
245
246 private canActivate(): boolean {
247 return this.isClickable() || this.hasCover();

Callers 3

setMultipleInputsMethod · 0.95
canActivateMethod · 0.95
renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected