Skip to content

Instantly share code, notes, and snippets.

@BrockReece
Created February 1, 2018 20:14
Show Gist options
  • Save BrockReece/e6ed72e43de64adbf7fe1da54284bf74 to your computer and use it in GitHub Desktop.
Save BrockReece/e6ed72e43de64adbf7fe1da54284bf74 to your computer and use it in GitHub Desktop.
<template>
<div v-if="outOfView" class="placeholder">&nbsp;</div>
<div v-else>
<slot></slot>
</div>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment