git.iko.soy/typeable/elm-ui
on master help sign in
comments around classifyDevice
ca6302bMatthew Griffith
src/Element.elm+3
@@ -1553,6 +1553,9 @@ type Orientation
1553
1553
1554
1554
1555{-| Takes in a Window.Size and returns a device profile which can be used for responsiveness.
1555{-| Takes in a Window.Size and returns a device profile which can be used for responsiveness.
1556+
1557+If you have more detailed concerns around responsiveness, it probably makes sense to copy this function into your codebase and modify as needed.
1558+
1556-}
1559-}
1557classifyDevice : { window | height : Int, width : Int } -> Device
1560classifyDevice : { window | height : Int, width : Int } -> Device
1558classifyDevice window =
1561classifyDevice window =