Home Reference Source
public class | source

ButtonComponent

Extends:

potassium-es/src/Component~Component → ButtonComponent

ButtonComponent displays a button, natch.

Constructor Summary

Public Constructor
public

constructor(dataObject: DataObject, options: Object)

Member Summary

Public Members
public get
public set

text(value: string)

Method Summary

Public Methods
public

Shows a visible alert for a short time and plays an audio alert

Public Constructors

public constructor(dataObject: DataObject, options: Object) source

Params:

NameTypeAttributeDescription
dataObject DataObject
  • optional
options Object
  • optional
options.textSize number
  • optional
options.textColor number
  • optional

Public Members

public get text: string source

public set text(value: string) source

Public Methods

public showAlert() source

Shows a visible alert for a short time and plays an audio alert