ac-recurrence is an AngularJS frequency picker directive for recurring events. It is modeled after Apple Calendar's picker for repeating calendar events.
It allows you to drop an element into your markup like so:
<ac-recurrence ng-model="$ctrl.frequency"></ac-recurrence>
to display a recurrence picker and get back an RRULE string, e.g. 'FREQ=YEARLY;INTERVAL=1;BYMONTH=6;BYMONTHDAY=1' (every 1 year on June 1st) into $ctrl.frequency
or whatever you bound to ng-model
RRULEs, as specified by RFC 5545, are a versatile way of specifying repeating intervals in a format that can be stored, retreived, and transmitted to other software.
Install via yarn or npm (recommended)
yarn add ac-recurrence --save
-- or --
npm install --save ac-recurrence
Install via bower (deprecated)
bower install ac-recurrence
See demo app.
npm start
: build the project and run a dev servernpm run build
: build the projectnpm test
: run tests
MIT