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
public get

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

public get

Public Constructors

public constructor(options: Object) source

Params:

NameTypeAttributeDescription
options Object
  • optional
options.titleField string
  • optional
  • default: title
options.captionField string
  • optional
  • default: caption

Public Members

public get captionComponent: * source

public get mainComponent: * source

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

public get titleComponent: * source