(
classes?: string[],
children?: HtmlDomNode[],
options?: Options,
style?: CssStyle,
)
| 353 | * should if present come first in `classes`. |
| 354 | */ |
| 355 | export const makeSpan = function( |
| 356 | classes?: string[], |
| 357 | children?: HtmlDomNode[], |
| 358 | options?: Options, |
| 359 | style?: CssStyle, |
| 360 | ): DomSpan { |
| 361 | const span = new Span(classes, children, options, style); |
| 362 | |
| 363 | sizeElementFromChildren(span); |
| 364 | |
| 365 | return span; |
| 366 | }; |
| 367 | |
| 368 | // SVG one is simpler -- doesn't require height, depth, max-font setting. |
| 369 | // This is also a separate method for typesafety. |
no test coverage detected
searching dependent graphs…