Options
All
  • Public
  • Public/Protected
  • All
Menu

Button is an improvement over HTMLButtionElement

Type parameters

  • V

Hierarchy

Implements

Index

Constructors

Properties

Methods

Object literals

Constructors

constructor

  • children is an array of content passed to this Component.

    Parameters

    Returns Button

Properties

attrs

children

children: Content[]

view

view: View = new views.Main(this)

Methods

disable

  • disable(): void

enable

  • enable(): void

removed

  • removed(): void
  • Returns void

render

  • render(): Content
  • Returns Content

rendered

  • rendered(): void
  • Returns void

toggle

  • toggle(): void

Object literals

values

values: object

button

button: object

class

class: string = this.attrs.ww ?concat(BUTTON,TOOLBAR_COMPAT,this.attrs.ww.style || style.DEFAULT,this.attrs.ww.size && this.attrs.ww.size,this.attrs.ww.outline && style.OUTLINE,this.attrs.ww.block && orientation.BLOCK,this.attrs.ww.active && active.ACTIVE,this.attrs.ww.class ) : BUTTON

disabled

disabled: boolean = (this.attrs.ww && this.attrs.ww.disabled) ? true : null

id

id: string = "button"

name

name: string = (this.attrs.ww && this.attrs.ww.name) ? this.attrs.ww.name : ''

text

text: string = (this.attrs.ww && this.attrs.ww.text) ? this.attrs.ww.text : ''

type

type: string = (this.attrs.ww && this.attrs.ww.type) ? this.attrs.ww.type : 'button'

onclick

  • onclick(): void

Generated using TypeDoc