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.
detect browser vendor prefix
elm-package install coreytrampe/elm-vendor 2.0.3
A tiny module to detect the vendor prefix string.
import Vendor
displayValue : String
displayValue =
if Vendor.prefix == Vendor.Webkit
then "-webkit-flex"
else "flex"
And that's all there is to it.