daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. export default {
  2.   bind: function(el, binding, vnode) {
  3.  
  4.     const display = binding.value.display ? 'block': 'none';
  5.     const delay = binding.value.delay;
  6.    
  7.     setTimeout(() => el.style.display = display, delay);
  8.   }
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top