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

Method setMultipleInputs

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

Source from the content-addressed store, hash-verified

205 // should not have a clickable input cover over the entire item to prevent
206 // interfering with their individual click events
207 private setMultipleInputs() {
208 const { covers, inputs, clickables } = this.totalNestedInputs();
209
210 // Check for multiple inputs to change the position of the input cover to relative
211 // for all of the covered inputs above
212 this.multipleInputs =
213 covers.length + inputs.length > 1 ||
214 covers.length + clickables.length > 1 ||
215 (covers.length > 0 && this.isClickable());
216 }
217
218 private setIsInteractive() {
219 // If item contains any interactive children, set isInteractive to `true`

Callers 2

componentDidLoadMethod · 0.95
ItemClass · 0.95

Calls 2

totalNestedInputsMethod · 0.95
isClickableMethod · 0.95

Tested by

no test coverage detected