Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anishmprasad/react-placeholder
Typing animation for react input placeholder
https://github.com/anishmprasad/react-placeholder
Last synced: 7 days ago
JSON representation
Typing animation for react input placeholder
- Host: GitHub
- URL: https://github.com/anishmprasad/react-placeholder
- Owner: anishmprasad
- License: mit
- Created: 2018-03-25T17:49:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-22T17:59:51.000Z (almost 2 years ago)
- Last Synced: 2023-03-02T22:27:12.710Z (over 1 year ago)
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-placeholder
dynamic input placeholder component for React.jsGetting started
---------------If you're developing using npm and CommonJS modules:
```
npm i react-placeholder
```
```jsx
import reactplaceholder from 'react-placeholder';reactplaceholder({
el: ReactDOM.findDOMNode(this.refs.input),
sentences: ['study physics', 'study chemistry', 'study mathematics', 'study biology'],
options: {
letterDelay: 100,
loop: true,
startOnFocus: false
}
})```
Don't see your prop? explaining your use case, and I will add it.
Packages Needed
---------------
* prop-types : ^15.5.4
* react : ^15.4.2
* react-dom : ^15.4.2Testing
-------
on developmentIssues
------
Please [file an issue](https://github.com/Anishmprasad/react-placeholder/issues) if you find a bug, or need help.License
-------
The MIT License (MIT)
Copyright (c) 2018 Anish M Prasad