* 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: string)
| 161 | * @docs-private |
| 162 | */ |
| 163 | protected _setNameInput(value: string) { |
| 164 | // If the directive is set without a name (updated programmatically), then this setter will |
| 165 | // trigger with an empty string and should not overwrite the programmatically set value. |
| 166 | if (value) { |
| 167 | this._name = value; |
| 168 | this.cssClassFriendlyName = value.replace(/[^a-z0-9_-]/gi, '-'); |
| 169 | this._updateColumnCssClassName(); |
| 170 | } |
| 171 | } |
| 172 | } |
| 173 | |
| 174 | /** Base class for the cells. Adds a CSS classname that identifies the column it renders in. */ |
no test coverage detected