* This has been extracted to a util because of TS 4 and VE. * View Engine doesn't support property rename inheritance. * TS 4.0 doesn't allow properties to override accessors or vice-versa. * @docs-private
(value: number)
| 102 | * @docs-private |
| 103 | */ |
| 104 | protected _setLevelInput(value: number) { |
| 105 | // Set to null as the fallback value so that _setPadding can fall back to the node level if the |
| 106 | // consumer set the directive as `cdkTreeNodePadding=""`. We still want to take this value if |
| 107 | // they set 0 explicitly. |
| 108 | this._level = isNaN(value) ? null! : value; |
| 109 | this._setPadding(); |
| 110 | } |
| 111 | |
| 112 | /** |
| 113 | * This has been extracted to a util because of TS 4 and VE. |
no test coverage detected