* Clears all of the selected values. * @param flushEvent Whether to flush the changes in an event. * If false, the changes to the selection will be flushed along with the next event. * @return Whether the selection changed as a result of this call
(flushEvent = true)
| 112 | * @return Whether the selection changed as a result of this call |
| 113 | */ |
| 114 | clear(flushEvent = true): boolean { |
| 115 | this._unmarkAll(); |
| 116 | const changed = this._hasQueuedChanges(); |
| 117 | if (flushEvent) { |
| 118 | this._emitChangeEvent(); |
| 119 | } |
| 120 | return changed; |
| 121 | } |
| 122 | |
| 123 | /** |
| 124 | * Determines whether a value is selected. |
nothing calls this directly
no test coverage detected