Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CrosswordClueCompleteEvent

OnClueCompleted event

example
$("someSelector").on("crossword:clue",(e,data)=>{
 console.log(`
     isCorrect: ${data.isCorrect},
     word: ${data.definition.answer},
     isAcross: ${data.definition.across},
     isCompleted: ${data.isCompleted}
 `)
});

Hierarchy

  • CrosswordClueCompleteEvent

Index

Properties

definition

definition: CrosswordClueDefinition

Clue definition

instance

instance: CrosswordGame

Instance of crossword that triggers the event

isCompleted

isCompleted: boolean

All the words has been provided

isCorrect

isCorrect: boolean

The answer is correct

Generated using TypeDoc