MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / blinkAuthLogo

Function blinkAuthLogo

apps/kimi-web/src/composables/useAuthGate.ts:49–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 }, { immediate: true });
48
49 function blinkAuthLogo(): void {
50 const el = authLogoRef.value;
51 if (!el) return;
52 el.classList.remove('blink-now');
53 void el.getBoundingClientRect();
54 el.classList.add('blink-now');
55 if (authLogoBlinkTimer !== null) clearTimeout(authLogoBlinkTimer);
56 authLogoBlinkTimer = setTimeout(() => {
57 authLogoBlinkTimer = null;
58 el.classList.remove('blink-now');
59 }, 300);
60 }
61
62 onUnmounted(() => {
63 if (authLogoBlinkTimer !== null) clearTimeout(authLogoBlinkTimer);

Callers

nothing calls this directly

Calls 2

removeMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected