devextreme-vue
Version:
DevExtreme Vue UI and Visualization Components
78 lines (76 loc) • 2.35 kB
JavaScript
/*!
* devextreme-vue
* Version: 19.2.6
* Build date: Thu Jan 30 2020
*
* Copyright (c) 2012 - 2020 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
*/
;
Object.defineProperty(exports, "__esModule", { value: true });
var VueType = require("vue");
var Vue = VueType.default || VueType;
var defer_rendering_1 = require("devextreme/ui/defer_rendering");
var component_1 = require("./core/component");
var configuration_component_1 = require("./core/configuration-component");
var DxDeferRendering = Vue.extend({
extends: component_1.DxComponent,
props: {
accessKey: String,
activeStateEnabled: Boolean,
animation: Object,
disabled: Boolean,
elementAttr: Object,
focusStateEnabled: Boolean,
height: [Function, Number, String],
hint: String,
hoverStateEnabled: Boolean,
onContentReady: Function,
onDisposing: Function,
onInitialized: Function,
onOptionChanged: Function,
onRendered: Function,
onShown: Function,
renderWhen: {},
rtlEnabled: Boolean,
showLoadIndicator: Boolean,
staggerItemSelector: String,
tabIndex: Number,
visible: Boolean,
width: [Function, Number, String]
},
computed: {
instance: function () {
return this.$_instance;
}
},
beforeCreate: function () {
this.$_WidgetClass = defer_rendering_1.default;
this.$_expectedChildren = {
animation: { isCollectionItem: false, optionName: "animation" }
};
}
});
exports.DxDeferRendering = DxDeferRendering;
var DxAnimation = Vue.extend({
extends: configuration_component_1.DxConfiguration,
props: {
complete: Function,
delay: Number,
direction: String,
duration: Number,
easing: String,
from: [Number, Object, String],
staggerDelay: Number,
start: Function,
to: [Number, Object, String],
type: String
}
});
exports.DxAnimation = DxAnimation;
DxAnimation.$_optionName = "animation";
exports.default = DxDeferRendering;