(action, evt)
| 71 | } |
| 72 | |
| 73 | actionDidClick (action, evt) { |
| 74 | evt.preventDefault() |
| 75 | |
| 76 | // Check if encoder should be reversed |
| 77 | const reverse = action === 'decode' |
| 78 | if (this.getModel().isReverse() !== reverse) { |
| 79 | this.getModel().viewDidReverse(this) |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | /** |
| 84 | * Updates view on model change. |
nothing calls this directly
no test coverage detected