MCPcopy Create free account
hub / github.com/firebase/quickstart-js / updateSignInButtonUI

Function updateSignInButtonUI

auth/phone-invisible.ts:188–190  ·  view source on GitHub ↗

* Updates the Sign-in button state depending on ReCAptcha and form values state.

()

Source from the content-addressed store, hash-verified

186 * Updates the Sign-in button state depending on ReCAptcha and form values state.
187 */
188function updateSignInButtonUI() {
189 signInButton.disabled = !isPhoneNumberValid() || !!window.signingIn;
190}
191
192/**
193 * Updates the Verify-code button state depending on form values state.

Callers 3

onSignInSubmitFunction · 0.70
onVerifyCodeSubmitFunction · 0.70
phone-invisible.tsFile · 0.70

Calls 1

isPhoneNumberValidFunction · 0.70

Tested by

no test coverage detected