(number, allowDrag)
| 41 | |
| 42 | export class NumberSource extends DragSource { |
| 43 | constructor(number, allowDrag) { |
| 44 | super(); |
| 45 | this.number = number; |
| 46 | this.allowDrag = allowDrag; |
| 47 | } |
| 48 | |
| 49 | canDrag() { |
| 50 | return this.allowDrag; |
nothing calls this directly
no outgoing calls
no test coverage detected