Coder Social home page Coder Social logo

hexsprite / meteor-fullcalendar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rzymek/meteor-fullcalendar

0.0 1.0 0.0 26 KB

FullCalendar JQuery plugin packaged for Meteor 1.0

Home Page: https://atmospherejs.com/rzymek/fullcalendar

HTML 9.86% JavaScript 81.69% Shell 8.46%

meteor-fullcalendar's Introduction

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

meteor-fullcalendar's People

Contributors

rzymek avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.