Skip to content

Commit

Permalink
chore: update dependencies and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Zellman authored and tzellman committed Mar 28, 2023
1 parent 99914e6 commit 7315356
Show file tree
Hide file tree
Showing 4 changed files with 249 additions and 156 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,14 @@
# Changelog

### 0.6.0

This is a minor release with backwards-compatible changes.

#### Changes

- Support multiple event handling with `{{on-event}}` modifier
- Updated dependencies (tailwind, commitlint/cli)

### 0.5.0

- Updated dependencies
Expand Down
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -51,6 +51,14 @@ Note that the handler is automatically registered and removed on insertion/remov
</div>
```

You can also handle multiple events with one declaration:

```handlebars
<div {{on-event (array "blog-updated" "blog-created") this.reloadBlog}}>
...
</div>
```

### trigger-event

The `trigger-event` modifier allows you to trigger an event when the element is inserted.
Expand Down

0 comments on commit 7315356

Please sign in to comment.