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

[Suggestion] viewBox : Int -> Int -> Int -> Int -> Attribute msg #30

Open
GarkGarcia opened this issue Jul 6, 2019 · 1 comment
Open

Comments

@GarkGarcia
Copy link

GarkGarcia commented Jul 6, 2019

I believe the viewBox : Int -> Int -> Int -> Int -> Attribute msg type signature would be more intutive than viewBox : String -> Attribute msg.

Html.Attributes has adaptations like this, such as Html.Attributes.spellcheck, which uses the Bool -> Attribute msm signature instead of the traditional String -> Attribute msg.

@oalkaako
Copy link

You can use viewBoxof Typed Svg library
https://package.elm-lang.org/packages/elm-community/typed-svg/6.0.0/TypedSvg-Attributes

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

2 participants