import MediaGridComponent from 'potassium-components/src/organisms/MediaGridComponent.js'
MediaGridComponent
Extends:
potassium-es/src/Component~Component → MediaGridComponent
MediaGridComponent shows a CSS grid of CardComponents like images, videos, audio tracks, etc.
Constructor Summary
Public Constructor | ||
public |
constructor(dataObject: DataCollection, options: Object, itemComponent: Component, itemOptions: Object) |
Public Constructors
public constructor(dataObject: DataCollection, options: Object, itemComponent: Component, itemOptions: Object) source
Params:
Name | Type | Attribute | Description |
dataObject | DataCollection | ||
options | Object |
|
|
itemComponent | Component |
|
the options object to pass to the item class constructor |
itemOptions | Object |
|
the Component class used for each item in the DataCollection |