Skip to content

Commit

Permalink
Merge pull request #12 from PhilETaylor/patch-3
Browse files Browse the repository at this point in the history
Update readme.md
  • Loading branch information
OzzyCzech committed Dec 8, 2023
2 parents 453fb74 + a6eba4c commit 9f3476e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The `event.detail` has the following properties:
- `action` - The action object.
- `parentEvent` - The original event that caused the *action*. Can be either `KeyboardEvent` or `CustomEvent`.

Event `action` si cancelable. If you want to prevent perform the action, you can call `event.preventDefault()`.
Event `action` is cancelable. If you want to prevent perform the action, you can call `event.preventDefault()`.

```js
// listen to action events
Expand All @@ -70,7 +70,7 @@ dialog.addEventListener('action', (event) => {
## Action

`Action` is a json object that contains the information of a user's action in the dialog.
Every can have the following properties:
Every action can have the following properties:

- `id` - The id of the action (*optional*).
- `title` - The name of the action (**required**).
Expand Down

1 comment on commit 9f3476e

@vercel
Copy link

@vercel vercel bot commented on 9f3476e Dec 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

cmd-dialog – ./

cmd-dialog-ozzyczech.vercel.app
cmd-dialog-git-main-ozzyczech.vercel.app
cmd-dialog.vercel.app

Please sign in to comment.