* Cleans up a value to be used as a fontIcon or fontSet. * Since the value ends up being assigned as a CSS class, we * have to trim the value and omit space-separated values.
(value: string)
| 392 | * have to trim the value and omit space-separated values. |
| 393 | */ |
| 394 | private _cleanupFontValue(value: string) { |
| 395 | return typeof value === 'string' ? value.trim().split(' ')[0] : value; |
| 396 | } |
| 397 | |
| 398 | /** |
| 399 | * Prepends the current path to all elements that have an attribute pointing to a `FuncIRI` |