new module:sim/candidates/Candidate(shape2, shape1, color, screen, candidateRegistrar, commander, changes, doLoad)
Candidate class on top of handle.
Candidate adds candidate behavior on top of a draggable handle handle.
Parameters:
Name | Type | Description |
---|---|---|
shape2 |
Object | |
shape1 |
Object | |
color |
String | |
screen |
Screen | |
candidateRegistrar |
Registrar | |
commander |
Commander | |
changes |
Changes | |
doLoad |
Boolean | Should we add the candidateDn without adding to the history? |
- Source: