Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ButtonComponent

Hierarchy

Indexable

[K: string]: any

Index

Constructors

constructor

Events

onDidInvalidate

onDidInvalidate:

Properties

backgroundColor

backgroundColor: string = "#FF8F00"

invalidated

invalidated: boolean = true

label

label: string = "Click Me!"

textColor

textColor: string = "#FFFFFF"

Accessors

Static properties

properties:

Methods

Protected _setupProperties

  • _setupProperties(): void

apply

  • apply(): void
  • Returns void

invalidate

  • invalidate(): void

load

  • load(data: any): void
  • Parameters

    • data: any

    Returns void

render

  • render(ctx: CanvasRenderingContext2D, el: HTMLElement): void
  • Parameters

    • ctx: CanvasRenderingContext2D
    • el: HTMLElement

    Returns void

reset

  • reset(): void
  • Returns void

serialize

  • serialize(): object
  • Returns object

    • [K: string]: any

Generated using TypeDoc