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

MasonryItem

Expression Extends:

class MasonryItem extends BaseComponent(HTMLElement)

Mixin Extends:

HTMLElement, BaseComponent

A Masonry Item component

See:

Example:

Markup
<coral-masonry-item></coral-masonry-item>
JS constructor
new Coral.Masonry.Item();

Member Summary

Public Members
public

content: *

null

public

Whether the item is selected.

Public Members

public content: * source

null

public selected: Boolean source

Whether the item is selected.

  • false by default.
  • reflected