coreytrampe/elm-vendor

detect browser vendor prefix


License
BSD-3-Clause
Install
elm-package install coreytrampe/elm-vendor 2.0.3

Documentation

elm-vendor

A tiny module to detect the vendor prefix string.

usage

import Vendor

displayValue : String
displayValue =
    if Vendor.prefix == Vendor.Webkit
    then "-webkit-flex"
    else "flex"

And that's all there is to it.