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

Method hasCover

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

Source from the content-addressed store, hash-verified

233 // that should get the hover, focused and activated states UNLESS it has multiple
234 // inputs, then those need to individually get each click
235 private hasCover(): boolean {
236 const inputs = this.el.querySelectorAll('ion-checkbox, ion-datetime, ion-select, ion-radio');
237 return inputs.length === 1 && !this.multipleInputs;
238 }
239
240 // If the item has an href or button property it will render a native
241 // anchor or button that is clickable

Callers 1

canActivateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected