Skip to content

Commit

Permalink
Removed @click in the example of alpinejs
Browse files Browse the repository at this point in the history
@click not implemented yet

Signed-off-by: Bijin Regi Panicker <[email protected]>
  • Loading branch information
B-R-P authored Feb 20, 2024
1 parent f3f2e03 commit 11b8920
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -617,11 +617,7 @@ You just need to add this triple slash directive to the top of your file:
const html = (
// Type checking and intellisense for all HTMX attributes
<div x-data="{ open: false }">
<button @click="open = true">Expand</button>

<span x-show="open">
Content...
</span>
...
</div>
);
```
Expand Down

0 comments on commit 11b8920

Please sign in to comment.