Skip to content

Instantly share code, notes, and snippets.

Renato de Leão renatodeleao

Block or report user

Report or block renatodeleao

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@renatodeleao
renatodeleao / example.html
Created Oct 18, 2018 — forked from leevigraham/example.html
Renderless Flyout.Vue component
View example.html
<flyout v-cloak>
<div slot-scope="props">
<button
v-on:click="props.toggle()"
v-bind:class="'border-2 p-1 ' + (props.isActive ? 'bg-green': 'bg-red')"
data-reference
>…</button>
<div
v-show="props.isActive"
class="list-reset bg-white border p-4 shadow z-10"
You can’t perform that action at this time.