Reference Source
import {Masonry} from '@adobe/coral-spectrum'
public class | source

MasonryDashboardLayout

Extends:

MasonryLayoutMasonryColumnLayoutMasonryVariableLayout → MasonryDashboardLayout

Layout with variable width items which are expanded in their height to fill gaps (which are common with colspan). The minimal width of the items is defined with the columnwidth attribute.

See:

Example:

JS constructor
new Coral.Masonry.DashboardLayout();
<coral-masonry layout="dashboard" columnwidth="300">

Inherited Summary

From class MasonryLayout
public static

Defines the name of the Layout

public

Layout name.

public

Removes all layout-specific attributes, style, data and event listeners from the masonry and its items.

public

Removes the item from the control of the layout.

public

itemAt(x: number, y: number): Coral.Masonry.Item

Returns the item at the given position.

public

layout()

Lays out the masonry items according to the implementation.

public

Adds the item to the control of the layout again.

From class MasonryColumnLayout
public
public

detach(item: *)

public

itemAt(x: *, y: *): *

public

layout(secondTry: *)

public

reattach(item: *)