Home Reference Source
public class | source

CardComponent

Extends:

potassium-es/src/Component~Component → CardComponent

CardComponent contains a list of Audio-, Video-, or Image- Components and a caption LabelComponent

Constructor Summary

Public Constructor
public

constructor(options: Object)

Member Summary

Public Members
public get

the Component in which we display the main content, like an image or video

Public Constructors

public constructor(options: Object) source

Params:

NameTypeAttributeDescription
options Object
  • optional
options.titleField string
  • optional
options.captionField string
  • optional

Public Members

public get mainComponent: * source

the Component in which we display the main content, like an image or video