/vue-recurrence-editor-component

A simple recurrence editor component for Vue

Primary LanguageVue

vue-recurrence-editor-component

Simple Personal Library - MIT

DEMO

Installation

This is not a NPM distribution file, so you just need to copy/paste the file into your project and treat it as a normal vue component.

The default CSS class is using bootstrap.

I will make it as a distribution package in the future with more advanced features.

Usage

  <recurrence-editor v-model="yourModel" ></recurrence-editor>

API

Every Week

   {
      repeatOption: {
          type: 'every_week',
          everyWeekPicker: ['1', '2', '3', '4', '5', '6','7']
      },
      repeatAt: '10:00',
  }

Every Day

   {
      repeatOption: {
          type: 'every_day'
      },
      repeatAt: '10:00',
  }

License

MIT