()
| 155 | |
| 156 | @Watch('debounce') |
| 157 | protected debounceChanged() { |
| 158 | const { ionInput, debounce, originalIonInput } = this; |
| 159 | |
| 160 | /** |
| 161 | * If debounce is undefined, we have to manually revert the ionInput emitter in case |
| 162 | * debounce used to be set to a number. Otherwise, the event would stay debounced. |
| 163 | */ |
| 164 | this.ionInput = debounce === undefined ? originalIonInput ?? ionInput : debounceEvent(ionInput, debounce); |
| 165 | } |
| 166 | |
| 167 | /** |
| 168 | * If `true`, the user cannot interact with the input. |
no test coverage detected