2023-05-24 14:08:05 +00:00
|
|
|
<script>
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
2023-10-02 10:46:09 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
},
|
2023-10-02 10:46:09 +00:00
|
|
|
style: ScrollPanelStyle,
|
2023-05-30 12:28:04 +00:00
|
|
|
provide() {
|
|
|
|
return {
|
2024-04-25 01:26:06 +00:00
|
|
|
$pcScrollPanel: this,
|
2023-05-30 12:28:04 +00:00
|
|
|
$parentInstance: this
|
|
|
|
};
|
2023-05-24 14:08:05 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|