Gets all of the actions within the chip.
()
| 368 | |
| 369 | /** Gets all of the actions within the chip. */ |
| 370 | _getActions(): MatChipAction[] { |
| 371 | const result: MatChipAction[] = []; |
| 372 | |
| 373 | if (this.editIcon) { |
| 374 | result.push(this.editIcon); |
| 375 | } |
| 376 | |
| 377 | if (this.primaryAction) { |
| 378 | result.push(this.primaryAction); |
| 379 | } |
| 380 | |
| 381 | if (this.removeIcon) { |
| 382 | result.push(this.removeIcon); |
| 383 | } |
| 384 | |
| 385 | return result; |
| 386 | } |
| 387 | |
| 388 | /** Handles interactions with the primary action of the chip. */ |
| 389 | _handlePrimaryActionInteraction() { |
no test coverage detected