# dpa-connect-event

## Installation

    yarn add @dpa-connect/dpa-connect-event

    NB: you need to have access to our private npm org to install things while
    we are in closed source.

## Usage

### With a module System (commonjs-node)

Using Vue single file components and postcss imports

```html
<template>
    <dpa-connect-event :event="eventJSON" />
</template>
<script>
    import DpaConnectEvent from '@dpa-connect/dpa-connect-event';

    export default {
        components: {
            DpaIdHubOverlay,
        }
    };
</script>

<style postcss>
    @import "@dpa-connect/dpa-connect-event/lib/dpa-connect-event.css";
</style>
```

### In the browser (universal modules)

    See wc/demo.html

### As web component (custom elements)

    See lib/demo.html
