OnClueCompleted event
$("someSelector").on("crossword:clue",(e,data)=>{ console.log(` isCorrect: ${data.isCorrect}, word: ${data.definition.answer}, isAcross: ${data.definition.across}, isCompleted: ${data.isCompleted} `) });
Clue definition
Instance of crossword that triggers the event
All the words has been provided
The answer is correct
Generated using TypeDoc
OnClueCompleted event
$("someSelector").on("crossword:clue",(e,data)=>{ console.log(` isCorrect: ${data.isCorrect}, word: ${data.definition.answer}, isAcross: ${data.definition.across}, isCompleted: ${data.isCompleted} `) });