Skip to content
AngularJS selector for recurring events
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
dist
src
test
.gitignore
CHANGELOG.md
CODE_OF_CONDUCT.md
LICENSE.txt
README.md
bower.json
index.js
karma.conf.js
package.json
webpack.config.js

README.md

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

You can’t perform that action at this time.