PETDrawFunctions
- class modules.js.Utility.PETDrawFunctions()
- modules.js.Utility.PETDrawFunctions.PETDrawFunctions
constructor
- modules.js.Utility.PETDrawFunctions.onSelectionChangeDeckDiscardZone(action, controlName, itemId)
Handles the selection change events for the decks and discards during the different draw phases, calls the appropriate callback for the action
- Arguments
action (
string()
) – action during which this function is called (may be one of ‘QuickDrawActionDraw’, ‘DrawActionDraw’ or ‘ShuffleDrawActionDraw’)controlName (
string()
) – id of the div containing the Stock component whose item was selecteditemId (
string()
) – id of the item that was selected