An open API service indexing awesome lists of open source software.

https://github.com/sorin-davidoi/fullcalendar-calendar

Web Component wrapper for FullCalendar
https://github.com/sorin-davidoi/fullcalendar-calendar

calendar fullcalendar javascript polymer web-components widget

Last synced: 7 months ago
JSON representation

Web Component wrapper for FullCalendar

Awesome Lists containing this project

README

          

# fullcalendar-calendar

Web Component wrapper for [FullCalendar](http://fullcalendar.io/).

Documentation and demo available [here](http://sorin-davidoi.github.io/fullcalendar-calendar/components/fullcalendar-calendar/).

⚠️ This is no longer maintained and will not be ported to Polymer 2/3. However, PRs are welcomed for bugfixes. ⚠️

# Install

```
bower install --save fullcalendar-calendar
```

# Usage

```html

#calendar {
--fullcalendar: {
background: white;
}

--fullcalendar-borders: {
border-color: black;
}

--fullcalendar-day-numbers: {
color: black;
}

--fullcalendar-day-headers: {
color: black;
font-weight: 500;
}

--fullcalendar-today: {
background: black;
}

--fullcalendar-event: {
background-color: magenta;
border-color: magenta;
}
}

```

```html

```

`fullcalendar-calendar.html` includes all the required dependencies (jQuery, moment and FullCalendar). However, since these libraries do not provide HTML import files, the Javascript files are loaded directly. This may prove problematic if you use any of the libraries in other part of your project, since you will load them twice. If this is the case, use `fullcalendar-calendar-no-deps.html`, which includes just the WebComponent wrapper, without the dependencies. However, you must now load the dependencies yourself:

```html

```

For all the options please consult the [documentation](http://sorin-davidoi.github.io/fullcalendar-calendar/components/fullcalendar-calendar/).