API Docs for: 0.0.1
Show:

Input Class

Description here

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

Methods

_mergeDataAttrs

(
  • inputProps
)
private

Defined in lib/itsa-react-input-4.16.0.4.js:325

Available since 0.2.0

Merges the data-* attributes from props into the object

Parameters:

  • inputProps Object

    the source props which will be extended

Returns:

object all the data-* attributes

componentDidMount

()

Defined in lib/itsa-react-input-4.16.0.4.js:49

Available since 0.0.1

componentDidMount will call this.activatePlaces();

componentWillUnmount

()

Defined in lib/itsa-react-input-4.16.0.4.js:63

Available since 0.0.1

componentWilUnmount does some cleanup.

focus

(
  • [transitionTime]
)
chainable

Defined in lib/itsa-react-input-4.16.0.4.js:73

Available since 0.0.1

Sets the focus on the Component.

Parameters:

  • [transitionTime] Number optional

    transition-time to focus the element into the view

handleBlur

(
  • e
)

Defined in lib/itsa-react-input-4.16.0.4.js:95

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/itsa-react-input-4.16.0.4.js:114

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:

handleClick

(
  • e
)

Defined in lib/itsa-react-input-4.16.0.4.js:131

Available since 0.1.0

The method that is called whenever the input-Element gets clicked.

Parameters:

handleContainerFocus

(
  • e
)

Defined in lib/itsa-react-input-4.16.0.4.js:145

Available since 0.1.0

Callback that sets the focus to the descendent element by calling focus()

Parameters:

handleFocus

(
  • e
)

Defined in lib/itsa-react-input-4.16.0.4.js:156

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:

handleKeyDown

(
  • e
)

Defined in lib/itsa-react-input-4.16.0.4.js:177

Available since 0.1.0

The method that is called whenever the input-Element recieves a keyDown.

Parameters:

handleKeyPress

(
  • e
)

Defined in lib/itsa-react-input-4.16.0.4.js:191

Available since 0.1.0

The method that is called whenever the input-Element recieves a keyPress.

Parameters:

handleKeyUp

(
  • e
)

Defined in lib/itsa-react-input-4.16.0.4.js:208

Available since 0.1.0

The method that is called whenever the input-Element recieves a keyUp.

Parameters:

render

()

Defined in lib/itsa-react-input-4.16.0.4.js:230

Available since 0.0.1

React render-method --> renderes the Component.

Returns:

ReactComponent

Properties

autoFocus

Boolean

Defined in lib/itsa-react-input-4.16.0.4.js:345

Available since 0.0.1

Whether to autofocus the Component.

className

String

Defined in lib/itsa-react-input-4.16.0.4.js:354

Available since 0.0.1

The class that should be set on the element

classNameInput

String

Defined in lib/itsa-react-input-4.16.0.4.js:363

Available since 0.0.1

The class that should be set on the underlying input-element

disabled

Boolean

Defined in lib/itsa-react-input-4.16.0.4.js:381

Available since 0.0.1

Whether the component is disabled

errorMsg

String

Defined in lib/itsa-react-input-4.16.0.4.js:372

Available since 0.0.1

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

formValidated

Boolean

Defined in lib/itsa-react-input-4.16.0.4.js:390

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/itsa-react-input-4.16.0.4.js:400

Available since 0.0.1

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

id

String

Defined in lib/itsa-react-input-4.16.0.4.js:409

Available since 0.0.1

The id of the element.

markValidated

Boolean

Defined in lib/itsa-react-input-4.16.0.4.js:418

Available since 0.0.1

Whether to mark the Component when successfully validated.

markValidated

Boolean

Defined in lib/itsa-react-input-4.16.0.4.js:427

Available since 0.0.1

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

name

String

Defined in lib/itsa-react-input-4.16.0.4.js:436

Available since 0.0.1

The name for the element.

onBlur

Function

Defined in lib/itsa-react-input-4.16.0.4.js:445

Available since 0.1.0

The onBlur function, when happening on the DOM-Element.

onChange

Function

Defined in lib/itsa-react-input-4.16.0.4.js:454

Available since 0.0.1

The onChange function, which should update the state.

onClick

Function

Defined in lib/itsa-react-input-4.16.0.4.js:463

Available since 0.0.1

The onClick function, when happening on the DOM-Element.

onFocus

Function

Defined in lib/itsa-react-input-4.16.0.4.js:472

Available since 0.1.0

The onFocus function, when happening on the DOM-Element.

onKeyDown

Function

Defined in lib/itsa-react-input-4.16.0.4.js:481

Available since 0.1.0

The onKeyDown function, when happening on the DOM-Element.

onKeyEnter

Function

Defined in lib/itsa-react-input-4.16.0.4.js:490

Available since 0.1.0

The onKeyEnter function, when the enter-key is pressed.

onKeyPress

Function

Defined in lib/itsa-react-input-4.16.0.4.js:499

Available since 0.1.0

The onKeyPress function, when happening on the DOM-Element.

onKeyUp

Function

Defined in lib/itsa-react-input-4.16.0.4.js:508

Available since 0.1.0

The onKeyUp function, when happening on the DOM-Element.

placeholder

String

Defined in lib/itsa-react-input-4.16.0.4.js:517

Available since 0.0.1

The placeholder for the element.

style

Object

Defined in lib/itsa-react-input-4.16.0.4.js:526

Available since 0.0.1

Inline style

type

String

Defined in lib/itsa-react-input-4.16.0.4.js:535

Available since 0.0.1

The type of the input-element.

type

Number

Defined in lib/itsa-react-input-4.16.0.4.js:544

Available since 0.0.1

The tabindex of the Component.

validated

Boolean

Defined in lib/itsa-react-input-4.16.0.4.js:553

Available since 0.0.1

Whether the property is validated right.

value

String

Defined in lib/itsa-react-input-4.16.0.4.js:562

Available since 0.0.1

The value of the input-element.