Skip to content

Commit

Permalink
Add cheatsheet table to pointer events docs
Browse files Browse the repository at this point in the history
  • Loading branch information
reinink committed Oct 31, 2017
1 parent c7b953a commit 9b41698
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/source/docs/pointer-events.blade.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,32 @@ title: "Pointer Events"
])

@include('_partials.work-in-progress')

<div class="border-t border-grey-lighter">
<table class="w-full text-left" style="border-collapse: collapse;">
<colgroup>
<col class="w-1/4">
<col class="w-1/4">
<col>
</colgroup>
<thead>
<tr>
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Class</th>
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Properties</th>
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Description</th>
</tr>
</thead>
<tbody class="align-baseline">
<tr>
<td class="p-2 border-t border-smoke font-mono text-xs text-purple-dark">.pointer-events-none</td>
<td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark">pointer-events: none;</td>
<td class="p-2 border-t border-smoke text-sm text-grey-darker">Make element not react to pointer events, like <code>:hover</code> or <code>click</code>.</td>
</tr>
<tr>
<td class="p-2 border-t border-smoke font-mono text-xs text-purple-dark">.pointer-events-auto</td>
<td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark">pointer-events: auto;</td>
<td class="p-2 border-t border-smoke text-sm text-grey-darker">Make element react to pointer events, like <code>:hover</code> or <code>click</code>.</td>
</tr>
</tbody>
</table>
</div>

0 comments on commit 9b41698

Please sign in to comment.