devextreme-vue
Version:
DevExtreme Vue UI and Visualization Components
88 lines (86 loc) • 2.85 kB
JavaScript
/*!
* devextreme-vue
* Version: 25.2.3
* Build date: Fri Dec 12 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
*/
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DxScrollView = void 0;
const vue_1 = require("vue");
const index_1 = require("./core/index");
const scroll_view_1 = __importDefault(require("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 = scroll_view_1.default;
this.$_hasAsyncTemplate = true;
}
};
(0, index_1.prepareComponentConfig)(componentConfig);
const DxScrollView = (0, vue_1.defineComponent)(componentConfig);
exports.DxScrollView = DxScrollView;
exports.default = DxScrollView;