Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyFeliz committed Apr 19, 2020
1 parent 52fed44 commit 54423ae
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

## Demo

[![Edit Vue Timed Content Demo](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/754n8y281?fontsize=14)
[![Edit Vue Timed Content Demo](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/vue-timed-content-demo-k3b5c?fontsize=14&hidenavigation=1&module=%2Fsrc%2FApp.vue&theme=dark)

## Props

Expand Down Expand Up @@ -72,9 +72,16 @@

```vue
<template>
<timed-content from="2020-04-01 00:00:00" to="2020-04-01 23:59:59" time-zone="America/New_York">
<p>Some April Fools' Day joke</p>
</timed-content>
<div>
<p>If you don't see anything it's because you are not in the range to be able view the content</p>
<timed-content
:from="new Date('2020/04/01 00:00:00')"
:to="new Date('2020/04/01 23:59:59')"
time-zone="America/Santo_Domingo"
>
<p>Some April Fools' Day joke 🃏</p>
</timed-content>
</div>
</template>
<script>
Expand Down

0 comments on commit 54423ae

Please sign in to comment.