fix: add Sticky props comment

This commit is contained in:
huanghong 2022-04-01 16:31:09 +08:00
parent 4ceaa9d781
commit 46133b3ff3
1 changed files with 4 additions and 0 deletions

View File

@ -3,9 +3,13 @@ import { propTypes } from '@/utils/propTypes'
import { ref, onMounted, onActivated, shallowRef } from 'vue'
import { useEventListener, useWindowSize } from '@vueuse/core'
const props = defineProps({
// (px)
offset: propTypes.number.def(0),
//
zIndex: propTypes.number.def(999),
// class
className: propTypes.string.def(''),
// (top)topbottom
position: {
type: String,
validator: function (value: string) {