diff --git a/README.md b/README.md index 58959a1..4ead2e2 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ > Mobile friendly datetime picker for Vue. Supports date, datetime and time modes, i18n and disabling dates. **NOTICE:** This README is related to next version (1.x) of vue-datetime. For the old release 0.x, [see here](https://github.com/mariomka/vue-datetime/tree/v0.x). - + ## Demo **[Go to demo](http://mariomka.github.io/vue-datetime)**. @@ -98,6 +98,17 @@ Download vue, luxon, weekstart and vue-datetime or use a CDN like unpkg. ``` +### Custom + +You can customize the component output using named slots and component props. + +```html + + + The field description + +``` + ## Setup ### Parameters @@ -123,7 +134,7 @@ week-start | `Number` | auto from locale if _weekstart_ is available or `1` | Fi Input inherits all props not defined above but `style` and `class` will be inherited by root element. -The component is based on [Luxon](https://github.com/moment/luxon), check out [documentation](https://moment.github.io/luxon/docs/index.html) to set [time zones](https://moment.github.io/luxon/docs/manual/zones.html) and [format](https://moment.github.io/luxon/docs/manual/formatting.html). +The component is based on [Luxon](https://github.com/moment/luxon), check out [documentation](https://moment.github.io/luxon/docs/index.html) to set [time zones](https://moment.github.io/luxon/docs/manual/zones.html) and [format](https://moment.github.io/luxon/docs/manual/formatting.html). ### Internationalization diff --git a/src/Datetime.vue b/src/Datetime.vue index 47307b1..e2abd67 100644 --- a/src/Datetime.vue +++ b/src/Datetime.vue @@ -1,5 +1,6 @@