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

Function updateSignInButtonUI

auth/phone-visible.ts:203–206  ·  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

201 * Updates the Sign-in button state depending on ReCAptcha and form values state.
202 */
203function updateSignInButtonUI() {
204 signInButton.disabled =
205 !isCaptchaOK() || !isPhoneNumberValid() || !!window.signingIn;
206}
207
208/**
209 * Updates the Verify-code button state depending on form values state.

Callers 3

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

Calls 2

isCaptchaOKFunction · 0.70
isPhoneNumberValidFunction · 0.70

Tested by

no test coverage detected