* Allows for programmatic removal of the chip. * * Informs any listeners of the removal request. Does not remove the chip from the DOM.
()
| 311 | * Informs any listeners of the removal request. Does not remove the chip from the DOM. |
| 312 | */ |
| 313 | remove(): void { |
| 314 | if (this.removable) { |
| 315 | this._hadFocusOnRemove = this._hasFocus(); |
| 316 | this.removed.emit({chip: this}); |
| 317 | } |
| 318 | } |
| 319 | |
| 320 | /** Whether or not the ripple should be disabled. */ |
| 321 | _isRippleDisabled(): boolean { |
no test coverage detected