Merge pull request #1597 from sbolz/patch-1
chore(docs): correct event-name to close overlay
This commit is contained in:
commit
e2af92d6af
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ html`
|
|||
<div slot="content">
|
||||
This is an overlay
|
||||
<button
|
||||
@click=${e => e.target.dispatchEvent(new Event('overlay-close', { bubbles: true }))}
|
||||
@click=${e => e.target.dispatchEvent(new Event('close-overlay', { bubbles: true }))}
|
||||
>x</button>
|
||||
<div>
|
||||
<button slot="invoker">
|
||||
|
|
|
|||
Loading…
Reference in a new issue