Class Masthead

All Implemented Interfaces:
Container<HTMLElement,Masthead>, Finder<HTMLElement>, HasElement<HTMLElement,Masthead>, HasHTMLElement<HTMLElement,Masthead>, IsElement<HTMLElement>, TypedBuilder<HTMLElement,Masthead>, Component

public class Masthead extends BaseComponent<HTMLElement,Masthead>
A masthead contains global properties such as logotype, navigation and settings in an organized fashion, and it is accessible from all parts of the application.

All pages should share a common masthead. Use Page.masthead() to get the masthead.

masthead()
        .addToggle(mastheadToggle())
        .addMain(mastheadMain()
                .addBrand(mastheadBrand(a("/"))
                        .addBrand(brand("/logo.svg", "Logo"))))
        .addContent(mastheadContent()
                .addToolbar(toolbar()));
See Also: