Gets whether the given type of element is projected at the specified position.
(type: 'icons' | 'avatars', position: 'before' | 'after')
| 246 | |
| 247 | /** Gets whether the given type of element is projected at the specified position. */ |
| 248 | _hasProjected(type: 'icons' | 'avatars', position: 'before' | 'after'): boolean { |
| 249 | // If the checkbox/radio is shown at the specified position, neither icons or |
| 250 | // avatars can be shown at the position. |
| 251 | return ( |
| 252 | this._getTogglePosition() !== position && |
| 253 | (type === 'avatars' ? this._avatars.length !== 0 : this._icons.length !== 0) |
| 254 | ); |
| 255 | } |
| 256 | |
| 257 | _handleBlur() { |
| 258 | this._selectionList._onTouched(); |
no test coverage detected