rsvp-reader/components/rsvp-reader.js

21 lines
449 B
JavaScript
Raw Normal View History

2019-10-18 15:17:12 +02:00
import './rsvp-word.js'
import './rsvp-controls.js'
2019-10-18 16:07:38 +02:00
import './rsvp-word-markers.js'
2019-12-08 09:16:12 +01:00
import './rsvp-provider.js'
2019-10-18 15:17:12 +02:00
class RSVPReader extends HTMLElement {
constructor() {
super()
const shadow = this.attachShadow({ mode: 'open' })
2019-12-08 09:16:12 +01:00
shadow.innerHTML = `
<rsvp-provider>
<rsvp-word></rsvp-word>
<rsvp-controls></rsvp-controls>
</rsvp-provider>
`
2019-10-18 15:17:12 +02:00
}
}
window.customElements.define('rsvp-reader', RSVPReader)