Lauri Ojansivu 6e8e581ceb Testing packages without versions from vor 8 Monaten
..
fullcalendar c22e71e3a2 Removed old demo API key to silence GitHub secret scanning warning. vor 1 Jahr
.gitignore 2d652df176 Renamed directory packages/meteor-fullcalendar to packages/wekan-fullcalendar. vor 1 Jahr
README.md 2d652df176 Renamed directory packages/meteor-fullcalendar to packages/wekan-fullcalendar. vor 1 Jahr
package.js 6e8e581ceb Testing packages without versions from vor 8 Monaten
template.html 2d652df176 Renamed directory packages/meteor-fullcalendar to packages/wekan-fullcalendar. vor 1 Jahr
template.js 2d652df176 Renamed directory packages/meteor-fullcalendar to packages/wekan-fullcalendar. vor 1 Jahr
update.sh 2d652df176 Renamed directory packages/meteor-fullcalendar to packages/wekan-fullcalendar. vor 1 Jahr

README.md

FullCalendar JQuery plugin packaged for Meteor 1.0

Instalation

meteor add rzymek:fullcalendar

Usage

{{> fullcalendar }}

Options to FullCalendar can be passed as attributes:

{{> fullcalendar defaultView='agendaWeek'}}

If you want to have options defined in JS (or have them reactive), you can do:

<template name="example">
    {{>fullcalendar options}}
</template>

Template.example.helpers({
    options: function() {
        return {
            defaultView: 'basicWeek'
        };
    }
});

To access the .fullcalendar method assign an id or a class first

{{> fullcalendar id="myCalendar" ...}}

Then you can for example do

$('#myCalendar').fullCalendar('refetchEvents');

Updating fullcalendar

To update fullcalendar version run

./update.sh

This will update to the newest fullcalendar's tag. To update to a specific version do

./update.sh 2.2.6

If you want me to publish a new package version just create an issue. In case you can't wait to use a new fullcalendar version in your project, you can update the package locally:

cd your_meteor_project
mkdir -p packages
git clone https://github.com/rzymek/meteor-fullcalendar packages/rzymek:fullcalendar
./packages/rzymek:fullcalendar/update.sh

After the desired version gets published just remove the local package:

rm -r packages/rzymek:fullcalendar