element-plus
Version:
A Component Library for Vue 3
35 lines (30 loc) • 751 B
JavaScript
Object.defineProperty(exports, '__esModule', { value: true });
require('../../../utils/index.js');
var props = require('../../../utils/vue/props.js');
const affixProps = props.buildProps({
zIndex: {
type: props.definePropType([Number, String]),
default: 100
},
target: {
type: String,
default: ""
},
offset: {
type: Number,
default: 0
},
position: {
type: String,
values: ["top", "bottom"],
default: "top"
}
});
const affixEmits = {
scroll: ({ scrollTop, fixed }) => typeof scrollTop === "number" && typeof fixed === "boolean",
change: (fixed) => typeof fixed === "boolean"
};
exports.affixEmits = affixEmits;
exports.affixProps = affixProps;
//# sourceMappingURL=affix.js.map
;