Class: ToggleButton

ToggleButton()

The ToggleButton

Constructor

new ToggleButton()

Create the ToggleButton.

Source:

Extends

  • React.Component

Members

contextTypes :Object

The context types.

Type:
  • Object
Source:

defaultProps :Object

The default properties.

Type:
  • Object
Source:

pressedClass :String

The class to apply for a toggled/pressed button.

Type:
  • String
Source:

propTypes :Object

The properties.

Type:
  • Object
Source:

Methods

componentWillReceiveProps(nextProps)

Called if this component receives properties.

Parameters:
Name Type Description
nextProps Object

The received properties.

Source:

onClick(evt)

Called on click

Parameters:
Name Type Description
evt ClickEvent

the clickeEvent

Source:

render()

The render function.

Source: