Class Gallery
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement, Gallery>, ElementClassListMethods<HTMLElement, Gallery>, ElementConsumerMethods<HTMLElement, Gallery>, ElementContainerMethods<HTMLElement, Gallery>, ElementEventMethods<HTMLElement, Gallery>, ElementIdMethods<HTMLElement, Gallery>, ElementQueryMethods<HTMLElement>, ElementTextMethods<HTMLElement, Gallery>, HTMLElementAttributeMethods<HTMLElement, Gallery>, HTMLElementDataMethods<HTMLElement, Gallery>, HTMLElementStyleMethods<HTMLElement, Gallery>, HTMLElementVisibilityMethods<HTMLElement, Gallery>, IsElement<HTMLElement>, TypedBuilder<HTMLElement, Gallery>, Layout, Modifiers.Gutter<HTMLElement, Gallery>
public class Gallery
extends BaseLayout<HTMLElement, Gallery>
implements Modifiers.Gutter<HTMLElement, Gallery>
The gallery layout is used to arrange content in a responsive grid. Content will wrap responsively to create uniform rows and
columns.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionaddItem(GalleryItem item) <T> GalleryaddItems(Iterable<T> items, Function<T, GalleryItem> display) static Gallerygallery()static <E extends HTMLElement>
Gallerygallery(HTMLContainerBuilder<E> builder) final GallerymaxWidths(Tuple<Breakpoint, String> first, Tuple<Breakpoint, String>... rest) final GalleryminWidths(Tuple<Breakpoint, String> first, Tuple<Breakpoint, String>... rest) that()Methods inherited from class BaseLayout
element, layoutTypeMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface ElementTextMethods
text, textMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface HTMLElementVisibilityMethods
hiddenMethods inherited from interface Modifiers.Gutter
gutter, gutter
-
Method Details
-
gallery
-
gallery
-
addItems
-
addItem
-
minWidths
@SafeVarargs public final Gallery minWidths(Tuple<Breakpoint, String> first, Tuple<Breakpoint, String>... rest) -
maxWidths
@SafeVarargs public final Gallery maxWidths(Tuple<Breakpoint, String> first, Tuple<Breakpoint, String>... rest) -
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement, Gallery>
-