<commit_before>[![Build Status](https://travis-ci.org/Hispar/events-calendar.svg?branch=master)](https://travis-ci.org/Hispar/events-calendar)
<!-- [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/mpachnis/mp-calendar) -->


## &lt;events-calendar&gt;

Events calendar based on https://github.com/mpachnis/mp-calendar

## Demo
https://hispar.github.io/events-calendar/components/events-calendar/


### Install

```bash
# via bower
$ bower install events-calendar
```

### Usage


```html

<events-calendar day-labels='["Su","Mo","Tu","We","Th","Fr","Sa"]'
             disable-prev-days
             show-days-in-month=42>
</events-calendar>
<script>
        var calendar = document.querySelector('events-calendar');

        calendar.eventList = {
            '2017-05-01' : [
                {
                    summary: '7-11 | S',
                    slot: '7:00-11:00',
                    name: 'test',
                    category: 'Supervisor'
                },
                {
                    summary: '11-15 | S',
                    slot: '11:00-15:00',
                    name: '',
                    category: 'Supervisor'
                }
            ],
            '2017-05-02' : [
                {
                    summary: '7-11 | S',
                    slot: '7:00-11:00',
                    name: '',
                    category: 'Supervisor'
                }
            ],
            '2017-05-03' : [
                {
                    summary: '7-11 | S',
                    slot: '7:00-11:00',
                    name: '',
                    category: 'Supervisor'
                }
            ],
        };
    </script>

```

### License

MIT License<commit_msg>Improve README<commit_after>[![Build Status](https://travis-ci.org/Hispar/events-calendar.svg?branch=master)](https://travis-ci.org/Hispar/events-calendar)
<!-- [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/mpachnis/mp-calendar) -->


## &lt;events-calendar&gt;

Events calendar based on https://github.com/mpachnis/mp-calendar

## Demo
https://hispar.github.io/events-calendar/components/events-calendar/


### Install

```bash
# via bower
$ bower install events-calendar
```

### Usage


```html

<events-calendar day-labels='["Su","Mo","Tu","We","Th","Fr","Sa"]'
             disable-prev-days
             show-days-in-month=42>
</events-calendar>
<script>
        var calendar = document.querySelector('events-calendar');

        calendar.eventList = {
            '2017-05-01' : [
                {
                    summary: '7-11 | S',
                    slot: '7:00-11:00',
                    name: 'test',
                    category: 'Supervisor'
                },
                {
                    summary: '11-15 | S',
                    slot: '11:00-15:00',
                    name: '',
                    category: 'Supervisor'
                }
            ],
            '2017-05-02' : [
                {
                    summary: '7-11 | S',
                    slot: '7:00-11:00',
                    name: '',
                    category: 'Supervisor'
                }
            ],
            '2017-05-03' : [
                {
                    summary: '7-11 | S',
                    slot: '7:00-11:00',
                    name: '',
                    category: 'Supervisor'
                }
            ],
        };
    </script>

```
## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D


## Credits

The creator of the base code for this calendar is <NAME> https://github.com/mpachnis

### License

MIT License
{'fraction_non_alphanumeric': 0.15515059478613008, 'fraction_numerical': 0.03568716780561883, 'mean_word_length': 1.4126984126984128, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 13, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1100217', 'n_tokens_mistral': 1267, 'n_tokens_neox': 1120, 'n_words': 195}