طريقة Score.onChange

يضبط المعالج عند تغيير النتيجة.

التوقيع

onChange(handler: (gameId: string, score: number) => void): void;

المعلمات

الاسم النوع اختياري الوصف
handler (gameId: string, score: number) => void لا

المرتجعات

void