MCPcopy Index your code
hub / github.com/firebase/quickstart-js / showElement

Function showElement

auth/mfa-password.ts:573–578  ·  view source on GitHub ↗

* Shows the element by ID. * @param {string} elementId The ID of the element.

(elementId: string)

Source from the content-addressed store, hash-verified

571 * @param {string} elementId The ID of the element.
572 */
573function showElement(elementId: string) {
574 const element = document.getElementById(elementId);
575 if (element) {
576 element.style.display = 'block';
577 }
578}
579
580/**
581 * Hides the element by ID.

Callers 2

updateMfaDialogFunction · 0.85
displayMfaErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected