<template>
  <view class="refresh-view-screen relative" :style="{backgroundColor:background}">
    <view class="refresh-view-screen-absolute" id="scroll-height">
      <scroll-view
          class="refresh-view-screen"
          :scroll-y="true"
          refresher-threshold="threshold"
          :refresher-background="refresherBackground"
          :refresher-enabled="refresh"
          :refresher-triggered="triggered"
          @scroll="scroll"
          @refresherrefresh="refreshHandle"
      >
        <slot></slot>
      </scroll-view>
    </view>
  </view>
</template>

<script>
import mixins from './mixins';
import props from './props';
export default {
  name: "refresh-view",
  mixins,
  props
}
</script>

<style scoped lang="scss" src="./style.scss">

</style>