Score.onChange 메서드

점수가 변경되는 경우에 대한 핸들러를 설정합니다.

서명

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

매개변수

이름 유형 선택사항 설명
handler (gameId: string, score: number) => void 아니요

반환

void