daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest Dec 10th, 2018 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <template id="meeting-countdown">
  2.   <div >{{`${days}d ${hours}h ${minutes}m ${seconds}s`}}</div>
  3. </template>
  4. <div id="app">
  5.   <fieldset>
  6.     <legend>Start Date Time</legend>
  7.     <input type="date" v-model="startDate" >
  8.     <input type="time" v-model="startTime">
  9.   </fieldset>
  10.  
  11.   <fieldset>
  12.     <legend>End Date Time</legend>
  13.     <input type="date" v-model="endDate">
  14.     <input type="time" v-model="endTime">
  15.    
  16.   </fieldset>
  17.   <div>
  18.     Loop? <input v-model="loop" type="checkbox">
  19.   </div>
  20.   <button @click="onSubmit">submit</button>
  21.   <meeting-countdown v-for="meeting in meetings" v-if="meeting.startDate && meeting.endDate" :loop="meeting.loop" :start-date="`${meeting.startDate}`" :end-date="`${meeting.endDate}`" />  
  22. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top