kotlinx.html icon indicating copy to clipboard operation
kotlinx.html copied to clipboard

Support SVG tag attributes

Open morki opened this issue 3 months ago • 0 comments

It would be useful to support SVG attributes like:

public var SVG.viewBox: String
    get() = stringAttribute[this, "viewBox"]
    set(viewBox) {
        stringAttribute[this, "viewBox"] = viewBox
    }

public var SVG.width: String
    get() = stringAttribute[this, "width"]
    set(width) {
        stringAttribute[this, "width"] = width
    }

public var SVG.height: String
    get() = stringAttribute[this, "height"]
    set(height) {
        stringAttribute[this, "height"] = height
    }

morki avatar May 22 '24 06:05 morki