Gets all of the actions within the chip.
()
| 389 | |
| 390 | /** Gets all of the actions within the chip. */ |
| 391 | _getActions(): MatChipAction[] { |
| 392 | const result: MatChipAction[] = []; |
| 393 | |
| 394 | if (this.editIcon) { |
| 395 | result.push(this.editIcon); |
| 396 | } |
| 397 | |
| 398 | if (this.primaryAction) { |
| 399 | result.push(this.primaryAction); |
| 400 | } |
| 401 | |
| 402 | if (this.removeIcon) { |
| 403 | result.push(this.removeIcon); |
| 404 | } |
| 405 | |
| 406 | return result; |
| 407 | } |
| 408 | |
| 409 | /** Handles interactions with the primary action of the chip. */ |
| 410 | _handlePrimaryActionInteraction() { |
no test coverage detected