Package com.onec.ui
Class LayoutSet
java.lang.Object
com.onec.ui.LayoutSet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionforViewport(Viewport viewport) The layout for the given viewport, falling back to desktop then any present.booleanhasDedicated(Viewport viewport) Whether aLayoutbean specifically targets this viewport (rather than being served the universal layout by fallback).
-
Constructor Details
-
LayoutSet
-
-
Method Details
-
forViewport
The layout for the given viewport, falling back to desktop then any present. -
hasDedicated
Whether aLayoutbean specifically targets this viewport (rather than being served the universal layout by fallback). When false for a non-desktop viewport, the shell uses a device-appropriate nav default instead of inheriting the universal one.
-