ac-recurrence

0.3.0 • Public • Published

ac-recurrence

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.

Installation

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

Usage

See demo app.

Development

Available Commands

  • npm start: build the project and run a dev server
  • npm run build: build the project
  • npm test: run tests

License

MIT

Dependencies (3)

Dev Dependencies (15)

Package Sidebar

Install

npm i ac-recurrence

Weekly Downloads

1

Version

0.3.0

License

MIT

Unpacked Size

52.3 kB

Total Files

23

Last publish

Collaborators

  • alexander-clark