This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
README

Vendor

A tiny module that detects the browser vendor prefix

displayValue : String
displayValue =
    if Vendor.prefix == Vendor.Webkit
    then "-webkit-flex"
    else "flex"
type Prefix = Moz | Webkit | MS | O | Unknown

A union of prefix tags

prefix : Prefix

The detected vendor

module Vendor exposing (Prefix(Moz, Webkit, MS, O, Unknown), prefix)

{-| A tiny module that detects the browser vendor prefix

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

@docs Prefix, prefix
-}

import Native.Vendor

{-| A union of prefix tags
-}
type Prefix = Moz | Webkit | MS | O | Unknown


{-| The detected vendor
-}
prefix : Prefix
prefix =
    if Native.Vendor.prefix == "webkit" then Webkit
    else if Native.Vendor.prefix == "moz" then Moz
    else if Native.Vendor.prefix == "ms" then MS
    else if Native.Vendor.prefix == "o" then O
    else Unknown