API Docs for: 0.0.1
Show:

TextArea Class

Description here

Copyright (c) 2016 ItsAsbreuk - http://itsasbreuk.nl
New BSD License - http://choosealicense.com/licenses/bsd-3-clause/

Methods

componentDidMount

()

Defined in lib/component.jsx:31

Available since 0.0.1

componentDidMount will call this.activatePlaces();

element

(
  • props
)

Defined in lib/component.jsx:38

Available since 0.0.4

Returns the rendered React-Element that serves as the source dom-element

Parameters:

  • props Object

    props to be passed through to the Component

Returns:

ReactComponent

focus

(
  • [transitionTime]
)
chainable

Defined in lib/component.jsx:50

Available since 0.0.1

Sets the focus on the Component.

Parameters:

  • [transitionTime] Number optional

    transition-time to focus the element into the view

focus

() chainable

Defined in lib/component.jsx:70

Available since 0.0.1

Sets the focus on the Component.

getInitialState

()

Defined in lib/component.jsx:62

Available since 0.0.1

Gets the Component"s internal state. Note, that the this is NOT Redux"s state.

Returns:

Object the Component internal initial state

handleBlur

(
  • e
)

Defined in lib/component.jsx:97

Available since 0.0.1

The method that is called whenever the input-Element gets blurred. It will change its internal state, so that the css looks right and also any validation-messages appear.

Parameters:

handleChange

(
  • e
)

Defined in lib/component.jsx:78

Available since 0.0.1

The method that is called whenever the input-Element changes its value. Will update the Redux-store (signupuser.homeaddress);

Parameters:

handleFocus

(
  • e
)

Defined in lib/component.jsx:87

Available since 0.0.1

The method that is called whenever the input-Element gets the focus. It will change its internal state, so that the css looks right and also any validation-messages disappear.

Parameters:

render

()

Defined in lib/component.jsx:107

Available since 0.0.1

React render-method --> renderes the Component.

Returns:

ReactComponent

Properties

autoFocus

Boolean

Defined in lib/component.jsx:124

Available since 0.0.1

Whether to autofocus the Component.

className

String

Defined in lib/component.jsx:133

Available since 0.0.1

The class that should be set on the element

errorMsg

String

Defined in lib/component.jsx:142

Available since 0.0.1

The error-message that appears when the element is wrong validated.

formValidated

Boolean

Defined in lib/component.jsx:151

Available since 0.0.1

Whether the parent-form has been validated. This value is needed to determine if the validate-status should be set.

helpText

String

Defined in lib/component.jsx:161

Available since 0.0.1

The text that should appear when the element is wrong validated.

id

String

Defined in lib/component.jsx:170

Available since 0.0.1

The id of the element.

markValidated

Boolean

Defined in lib/component.jsx:179

Available since 0.0.1

Whether to mark the Component when successfully validated.

markValidated

Boolean

Defined in lib/component.jsx:188

Available since 0.0.1

Whether the Component should show an validate-reclamation (star)

name

String

Defined in lib/component.jsx:197

Available since 0.0.1

The name for the element.

onChange

Function

Defined in lib/component.jsx:206

Available since 0.0.1

The onChange function, which should update the state.

placeholder

String

Defined in lib/component.jsx:215

Available since 0.0.1

The placeholder for the element.

style

Object

Defined in lib/component.jsx:224

Available since 0.0.1

Inline style

type

Number

Defined in lib/component.jsx:233

Available since 0.0.1

The tabindex of the Component.

validated

Boolean

Defined in lib/component.jsx:242

Available since 0.0.1

Whether the property is validated right.

value

String

Defined in lib/component.jsx:251

Available since 0.0.1

The value of the input-element.