Gets the outlet for the current node.
()
| 100 | |
| 101 | /** Gets the outlet for the current node. */ |
| 102 | private _getNodeOutlet() { |
| 103 | const outlets = this.nodeOutlet; |
| 104 | |
| 105 | // Note that since we use `descendants: true` on the query, we have to ensure |
| 106 | // that we don't pick up the outlet of a child node by accident. |
| 107 | return outlets && outlets.find(outlet => !outlet._node || outlet._node === this); |
| 108 | } |
| 109 | } |
no outgoing calls
no test coverage detected