Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shtikov/ko-time-edit
Time edit is a knokout component.
https://github.com/shtikov/ko-time-edit
Last synced: about 2 months ago
JSON representation
Time edit is a knokout component.
- Host: GitHub
- URL: https://github.com/shtikov/ko-time-edit
- Owner: SHTIKOV
- License: mit
- Created: 2020-04-07T11:32:20.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-26T11:40:00.000Z (almost 3 years ago)
- Last Synced: 2023-03-02T23:41:24.085Z (almost 2 years ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/ko-time-edit
- Size: 3.65 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ko-time-edit
Time edit is a knokout component for simple convert units of measure.
## How to install
`$ npm i ko-time-edit`
After install you need import file with component to your project.
```
reqire('ko-time-edit');
```## How to use
```
```
## Params
| Name | Type | Default | Description |
|-----------------|-----------|-----------------------------|---------------------------------------------------------|
| `required` | bool | false | Make fields required for fill, show validate message. |
| `disabled` | bool | false | Make fields disabled. |
| `hasSeconds` | bool | true | Show/Hide field with second. |
| `hasMinutes` | bool | true | Show/Hide field with minutes. |
| `hasHours` | bool | true | Show/Hide field with hours. |
| `hasDays` | bool | true | Show/Hide field with days. |
| `validationMsg` | string | 'Необходимо заполнить поле' | Validation message shown when param `required` is true. |