ember-add-calendar-button

0.0.6 • Public • Published

ember-add-calendar-button

Add calendar entries with comfort and style.

Build Status

npm version

Compatibility

  • Ember.js v3.4 or above
  • Ember CLI v2.13 or above
  • Node.js v8 or above

Installation

ember install ember-add-calendar-button

Usage

Example usage:

{{#calendar-button event onClick=(action "myActionHere") as |b|}}
  {{#b.google}}
    Add To Google
  {{/b.google}}
  {{#b.ical}}
    Add to Anything
  {{/b.ical}}
{{/calendar-button}}
 

The event object can be an EmberObject or pojo.

  let event = Ember.object.create({
    start: moment(), //moment or string
    end: moment().add(4, 'hours'),
    title: 'Meeting with Tomster',
    description: 'Coffee to discuss Tomster and Zoey\'s upcoming raise',
    location: '1234 North Port, Nowhere USA'
  })

Note: Totally stole a lot of the code from here

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i ember-add-calendar-button

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

10.9 kB

Total Files

21

Last publish

Collaborators

  • donaldwasserman