devextreme-vue
Version:
DevExtreme Vue UI and Visualization Components
82 lines (80 loc) • 2.47 kB
JavaScript
/*!
* devextreme-vue
* Version: 25.1.5
* Build date: Wed Sep 03 2025
*
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file in the root of the project for details.
*
* https://github.com/DevExpress/devextreme-vue
*/
import { defineComponent } from "vue";
import { prepareComponentConfig } from "./core/index";
import ScrollView from "devextreme/ui/scroll_view";
const componentConfig = {
props: {
bounceEnabled: Boolean,
direction: String,
disabled: Boolean,
elementAttr: Object,
height: [Number, String],
onDisposing: Function,
onInitialized: Function,
onOptionChanged: Function,
onPullDown: Function,
onReachBottom: Function,
onScroll: Function,
onUpdated: Function,
pulledDownText: String,
pullingDownText: String,
reachBottomText: String,
refreshingText: String,
rtlEnabled: Boolean,
scrollByContent: Boolean,
scrollByThumb: Boolean,
showScrollbar: String,
useNative: Boolean,
width: [Number, String]
},
emits: {
"update:isActive": null,
"update:hoveredElement": null,
"update:bounceEnabled": null,
"update:direction": null,
"update:disabled": null,
"update:elementAttr": null,
"update:height": null,
"update:onDisposing": null,
"update:onInitialized": null,
"update:onOptionChanged": null,
"update:onPullDown": null,
"update:onReachBottom": null,
"update:onScroll": null,
"update:onUpdated": null,
"update:pulledDownText": null,
"update:pullingDownText": null,
"update:reachBottomText": null,
"update:refreshingText": null,
"update:rtlEnabled": null,
"update:scrollByContent": null,
"update:scrollByThumb": null,
"update:showScrollbar": null,
"update:useNative": null,
"update:width": null,
},
computed: {
instance() {
return this.$_instance;
}
},
beforeCreate() {
this.$_WidgetClass = ScrollView;
this.$_hasAsyncTemplate = true;
}
};
prepareComponentConfig(componentConfig);
const DxScrollView = defineComponent(componentConfig);
export default DxScrollView;
export { DxScrollView };