Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support SVG tag attributes #281

Open
morki opened this issue May 22, 2024 · 0 comments
Open

Support SVG tag attributes #281

morki opened this issue May 22, 2024 · 0 comments

Comments

@morki
Copy link

morki commented May 22, 2024

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
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant