* @param {Object} data
(data)
| 86 | * @param {Object} data |
| 87 | */ |
| 88 | onButtonClick(data) { |
| 89 | let me = this, |
| 90 | index = (me.operators.indexOf(data.component.text) + 1) % me.operators.length; |
| 91 | |
| 92 | me.value = me.operators[index] |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | export default Neo.setupClass(ToggleOperatorsButton); |