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

Method rbClick

core/src/components/alert/alert.tsx:498–506  ·  view source on GitHub ↗
(selectedInput: AlertInput)

Source from the content-addressed store, hash-verified

496 }
497
498 private rbClick(selectedInput: AlertInput) {
499 for (const input of this.processedInputs) {
500 input.checked = input === selectedInput;
501 input.tabindex = input === selectedInput ? 0 : -1;
502 }
503 this.activeId = selectedInput.id;
504 safeCall(selectedInput.handler, selectedInput);
505 forceUpdate(this);
506 }
507
508 private cbClick(selectedInput: AlertInput) {
509 selectedInput.checked = !selectedInput.checked;

Callers 2

onKeydownMethod · 0.95
renderRadioMethod · 0.95

Calls 1

safeCallFunction · 0.90

Tested by

no test coverage detected