Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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. |