swift-html icon indicating copy to clipboard operation
swift-html copied to clipboard

An awesome Swift HTML DSL library using result builders.

Results 5 swift-html issues
Sort by recently updated
recently updated
newest added

Get attribute value with key ```swift func value(_ key: String) -> String? ``` This would make finding an attribute value very compact and convenient Add [Tag] to children with TagBuilder...

This proposal is predicated on the idea that space separated values inside the class attribute should be unique. ```html ... ``` I have been running into situations where I build...

I have a case where I need access to render(render: Tag, level: Int = 0) -> String

This pull request attempts to make `Tag` more straightforward to subclass. Right now, if you take a basic html tag like `Div` and customize it, the rendered tag name will...

This PR goes further than my previous one with changes to `Tag` And I'll admit it may be a bridge too far. Not sure. But I thought I'd put it...