(classes, children, options, style)
| 5587 | |
| 5588 | |
| 5589 | const makeSpan = function makeSpan(classes, children, options, style) { |
| 5590 | const span = new Span(classes, children, options, style); |
| 5591 | sizeElementFromChildren(span); |
| 5592 | return span; |
| 5593 | }; // SVG one is simpler -- doesn't require height, depth, max-font setting. |
| 5594 | // This is also a separate method for typesafety. |
| 5595 | |
| 5596 |
no test coverage detected