0.1.0 • Published 6 years ago

@rebelcode/vc-datetime-picker v0.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Datetime Picker Component

npm (scoped)

Usage

<datetime-picker v-model="datetime" inline-template>
    <div>
        <span>
            {{ nativeDate }}
        </span>
        <input type="text" placeholder="YYYY-MM-DD" v-model="dateValue" readonly/>
        <input type="text" placeholder="HH:ii:ss" v-model="timeValue" readonly/>
    </div>
</datetime-picker>

Any implementations of date picker and time picker can be used inside datetime-picker. In order to use them computed dateValue and timeValue must be implemented.

Developing

Run npm install to install all dev dependencies.

Here is available npm commands.

Build library while developing

npm run dev

Build library for production

npm run production

Run e2e tests

npm run e2e