Masthead |
Masthead.addBrand(Brand brand,
String homeLink) |
Wraps the brand inside an <a/> element, adds the <a/> element to a MastheadMain component and
finally adds the MastheadMain to this component.
|
Masthead |
Masthead.addContent() |
|
Masthead |
Masthead.addMain() |
|
Masthead |
Masthead.addToggle(MastheadToggle toggle) |
|
Masthead |
Masthead.addToolbar(Toolbar toolbar) |
|
Masthead |
Masthead.inline(Breakpoint breakpoint) |
Modifies this component to have an inline display at the given breakpoint.
|
Masthead |
Masthead.inset(Size size) |
Modifies this component to have a horizontal padding.
|
Masthead |
Masthead.inset(Size size,
Breakpoint breakpoint) |
Modifies this component to have a horizontal padding at the given breakpoint.
|
Masthead |
Masthead.light() |
Modifies this component to have a light theme with a background color of --pf-v5-global--BackgroundColor--200.
|
Masthead |
Masthead.lighter() |
Modifies this component to have a light theme with a background color of --pf-v5-global--BackgroundColor--100.
|
Masthead |
Page.masthead() |
Returns the current Masthead or null if no masthead has been defined yet.
|
Masthead |
Masthead.noInset() |
Modifies this component to have no horizontal padding.
|
Masthead |
Masthead.noInset(Breakpoint breakpoint) |
Modifies this component to have no horizontal padding at the given breakpoint.
|
static Masthead |
Masthead.pageMasthead() |
Factory method to create a new instance of this component.
|
Masthead |
Masthead.stack() |
Modifies this component to have a stacked display.
|
Masthead |
Masthead.stack(Breakpoint breakpoint) |
Modifies this component to have a stacked display at the given breakpoint.
|
Masthead |
Masthead.that() |
|