@@ -1,6 +1,6 @@
{
"name": "@alpinejs/docs",
- "version": "3.3.4-revision.1",
+ "version": "3.3.4-revision.2",
"description": "The documentation for Alpine",
"author": "Caleb Porzio",
"license": "MIT"
@@ -3,6 +3,20 @@
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
<table>
+ <tr>
+ <td><code>x-on:click.away</code></td>
+ <td>
+ <div x-data="{ show: false }">
+ <button @click="show = true">Show</button>
+
+ <h1 x-show="show" @click.away="show = false">h1</h1>
+ <h2>h2</h2>
+ </div>
+ </td>
+ </tr>
<tr>
<td><code>x-transition</code></td>
<td>