1.3.4 • Published 7 years ago

hyper-input-react v1.3.4

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

hyper input for react

preview

install

npm install --save-dev hyper-input-react style-loader css-loader

webpack.config.js

// add loader
{
    test: /\.css$/,
    loader: "style-loader!css-loader"
}

import

import HyperInput from 'hyper-input-react'

use

<HyperInput
    placeholder='placeholder'
    value=''
    regExp={this.regExp.bind(this)}
    setValue={this.setValue.bind(this)}/>

placeholder: placeholder, optional

value: value, optional

regExp: regExp rules, optional

regExp(value) {
    return value.replace(/\s/, '')
}

setValue: the func to get value

setValue(value) {
    this.value = value
    console.log(value)
}
1.3.4

7 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.9

7 years ago

1.2.8

7 years ago

1.2.7

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago