Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ButtonAttrs<V>

ButtonAttrs

Type parameters

  • V

Hierarchy

Index

Properties

Optional active

active: boolean

active indicates whether the button is active or not.

Optional block

block: boolean

block scope this button.

Optional class

class: string

class is typically applied to the root level DOM of a widget's view.

Use it to define custom rules for styling specific widget instances.

Optional disabled

disabled: boolean

disabled indicates the control should not be interactable.

Optional name

name: string

name of the control.

Used by controls to tag events with names.

Optional onClick

onClick: function

onClick assigns a handler for click events.

Type declaration

Optional outline

outline: boolean

outline uses an alternative outline styling

Optional size

size: string

size modifier for the button.

Optional style

style: string

style assigns one of the supported styles.

Optional text

text: string

text can be specified as an alternative to explicit children.

Optional type

type: string

type corresponds to the html attribute.

Optional value

value: V

value of the control.

Used to intialize controls and may also be the value of an Event.

Generated using TypeDoc