Gets the action that contains a specific target node.
(target: Node)
| 360 | |
| 361 | /** Gets the action that contains a specific target node. */ |
| 362 | _getSourceAction(target: Node): MatChipAction | undefined { |
| 363 | return this._getActions().find(action => { |
| 364 | const element = action._elementRef.nativeElement; |
| 365 | return element === target || element.contains(target); |
| 366 | }); |
| 367 | } |
| 368 | |
| 369 | /** Gets all of the actions within the chip. */ |
| 370 | _getActions(): MatChipAction[] { |
no test coverage detected