Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

  • new Media(title: string, subtitle: string): Media

Properties

actions: Action[] = []
alignment: ALIGNMENT
buttons: Button[] = []
classified: string
iactions: Map<string, Action> = ...
ibuttons: Map<string, Button> = ...
identifier: string
image?: Image
label: string
placeholder: boolean
position: POSITION
size: SIZE
style: string
subtitle: string = ''
title: string
type: string = 'media'

Methods

  • Set actions that the component has

    Parameters

    • title: string = ''

      title of action

    • size: SIZE = SIZE.SMALL

      size of action

    Returns Action

  • Set buttons that the component has

    Parameters

    • title: string = ''

      button title

    • size: SIZE = SIZE.SMALL

      size of button

    Returns Button

  • setClassified(classified?: string): Media
  • classified setter

    Parameters

    • classified: string = ''

    Returns Media

  • setIdentifier(identifier: string): Media
  • identifier setter

    Parameters

    • identifier: string

    Returns Media

  • setLabel(label?: string): Media
  • label setter

    Parameters

    • label: string = ''

    Returns Media

  • setPlaceholder(enabled?: boolean): Media
  • placeholder setter

    Parameters

    • enabled: boolean = false

    Returns Media

  • setStyle(style?: string): Media
  • style setter

    Parameters

    • style: string = ''

    Returns Media

  • setTitle(title?: string): Media
  • title setter

    Parameters

    • title: string = ''

    Returns Media

  • setType(type?: string): Media
  • type setter

    Parameters

    • type: string = ''

    Returns Media

Generated using TypeDoc