Skip to content
Snippets Groups Projects
Unverified Commit d1ef1625 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Add composed to events (dbp/apps/library#77)

parent afb74c33
No related branches found
No related tags found
No related merge requests found
Pipeline #15581 passed
......@@ -215,6 +215,7 @@ class Consumer extends HTMLElement {
const event = new CustomEvent('inherit',
{
bubbles: true,
composed: true,
detail: {
name: global,
callback: (value) => {
......@@ -236,6 +237,7 @@ class Consumer extends HTMLElement {
const event = new CustomEvent('subscribe',
{
bubbles: true,
composed: true,
detail: {
name: global,
callback: (value) => {
......@@ -255,6 +257,7 @@ class Consumer extends HTMLElement {
const event = new CustomEvent('unsubscribe',
{
bubbles: true,
composed: true,
detail: {
name: global,
sender: this,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment