(label?: IAccessor<string>)
| 293 | */ |
| 294 | public label(label: IAccessor<string>): this; |
| 295 | public label(label?: IAccessor<string>): any { |
| 296 | if (label == null) { |
| 297 | return this._label; |
| 298 | } |
| 299 | |
| 300 | this._label = label; |
| 301 | this.render(); |
| 302 | return this; |
| 303 | } |
| 304 | |
| 305 | /** |
| 306 | * Gets whether labels are enabled. |
no test coverage detected