# ew-my-calendar

> ``` import { Display } from 'ew-my-calendar/Display'; import { Playlist } from 'ew-my-calendar/Playlist'; import 'ew-my-calendar';

Latest version **1.1.2** (published 2022-09-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install ew-my-calendar
pnpm add ew-my-calendar
yarn add ew-my-calendar
bun add ew-my-calendar
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2022-09-15 |
| First published | 2022-08-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ergowerk-user |

## Links

- npm: https://www.npmjs.com/package/ew-my-calendar
- npm.io page: https://npm.io/package/ew-my-calendar

## Recent versions

- 1.1.2 (latest) — 2022-09-15
- 1.1.1 — 2022-09-12
- 1.1.0 — 2022-09-12
- 1.0.1 — 2022-08-30
- 1.0.0 — 2022-08-30

## README

```
import { Display } from 'ew-my-calendar/Display';
import { Playlist } from 'ew-my-calendar/Playlist';
import 'ew-my-calendar';

@customElement('my-calendar-view')
export class MyCalendarView extends View {
    @state() displays: Display[] = DISPLAYS;

    render() {
        return html`
            <my-calendar .displays="${this.displays}"
                @playlistChangedDisplay="${this._playlistChangedDisplayHandler}"
                @playlistTimeframeChanged="${this._playlistTimeframeChangedHandler}"
                @playlistDurationChanged="${this._playlistDurationChangedHandler}"
                @playlistButtonClicked="${this._playlistButtonClickedHandler}"
            ></my-calendar>
        `;
    }

    private _playlistChangedDisplayHandler(event: CustomEvent<Display[]>) {
        console.log('🚀 ~ MyCalendarView _playlistChangedDisplayHandler ~ event.detail', event.detail);
    }

    private _playlistTimeframeChangedHandler(event: CustomEvent<Playlist>) {
        console.log('🚀 ~ MyCalendarView _playlistTimeframeChangedHandler ~ event.detail', event.detail);
    }

    private _playlistDurationChangedHandler(event: CustomEvent<Playlist>) {
        console.log('🚀 ~ MyCalendarView _playlistDurationChangedHandler', event.detail);
    }

    private _playlistButtonClickedHandler(event: CustomEvent<Playlist>) {
        console.log('🚀 ~ MyCalendarView _playlistButtonClickedHandler', event.detail);
    }
}
```

---
_Source: https://npm.io/package/ew-my-calendar · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
