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

Method componentDidLoad

core/src/components/input/input.tsx:452–463  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

450 }
451
452 componentDidLoad() {
453 this.originalIonInput = this.ionInput;
454
455 /**
456 * Set the type on the password toggle in the event that this input's
457 * type was set async and does not match the default type for the password toggle.
458 * This can happen when the type is bound using a JS framework binding syntax
459 * such as [type] in Angular.
460 */
461 this.onTypeChange();
462 this.debounceChanged();
463 }
464
465 componentDidRender() {
466 this.notchController?.calculateNotchWidth();

Callers

nothing calls this directly

Calls 2

onTypeChangeMethod · 0.95
debounceChangedMethod · 0.95

Tested by

no test coverage detected