Large View

largeView

The largeView component is used to specify markup that should be displayed in larger views, such as tablet and desktop views.

Usage

<mobi:largeView> will include and render the child components when the client is a desktop or tablet view.

<h:body>
    <mobi:largeView>
        <ui:param name="viewSize" value="large" />
        <ui:include src="WEB-INF/includes/view/large.xhtml"/>
    </mobi:largeView>
    <mobi:smallView>
        <ui:param name="viewSize" value="small" />
        <ui:include src="WEB-INF/includes/view/small.xhtml" />
    </mobi:smallView>
</h:body>

Tag Handler Documentation

largeView
smallView