git.iko.soy/typeable/elm-ui
on master help sign in
comments around classifyDevice
commitca6302b9ca49a4924eb0f62caa9d9ab809360b05 authorMatthew Griffith <mdg.griffith@gmail.com> dateSun 21 Jul 2019, 09:39 (7 years ago) parentf9728c1
1 file changed+3
src/Element.elm+3
src/Element.elm+3
@@ -1553,6 +1553,9 @@ type Orientation
15531553
15541554
15551555{-| 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+
15561559-}
15571560classifyDevice : { window | height : Int, width : Int } -> Device
15581561classifyDevice window =