* Allows for programmatic removal of the chip. * * Informs any listeners of the removal request. Does not remove the chip from the DOM.
()
| 327 | * Informs any listeners of the removal request. Does not remove the chip from the DOM. |
| 328 | */ |
| 329 | remove(): void { |
| 330 | if (this.removable) { |
| 331 | this._hadFocusOnRemove = this._hasFocus(); |
| 332 | this.removed.emit({chip: this}); |
| 333 | } |
| 334 | } |
| 335 | |
| 336 | /** Whether or not the ripple should be disabled. */ |
| 337 | _isRippleDisabled(): boolean { |
no test coverage detected