primevue-mirror/components/lib/scrollpanel/BaseScrollPanel.vue

23 lines
450 B
Vue
Raw Normal View History

2023-05-24 14:08:05 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import ScrollPanelStyle from 'primevue/scrollpanel/style';
2023-05-24 14:08:05 +00:00
export default {
name: 'BaseScrollPanel',
extends: BaseComponent,
props: {
step: {
type: Number,
default: 5
}
},
style: ScrollPanelStyle,
provide() {
return {
$pcScrollPanel: this,
$parentInstance: this
};
2023-05-24 14:08:05 +00:00
}
};
</script>