export const StickyTop = {
  inserted (el) {
    setTimeout(() => {
      el.style.position = 'sticky !important'
      el.style.top = '0px'
    }, 800)
  }
}
export const StickyBottom = {
  inserted (el) {
    setTimeout(() => {
      el.style.position = 'sticky !important'
      el.style.top = `calc(100vh - ${el.clientHeight}px - 25px)`
    }, 800)
  }
}
export default {
  StickyTop,
  StickyBottom
}
