devextreme-vue
Version:
DevExtreme Vue UI and Visualization Components
53 lines (51 loc) • 1.9 kB
TypeScript
/*!
* 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
*/
import * as VueType from "vue";
import Switch, { IOptions } from "devextreme/ui/switch";
declare type AccessibleOptions = Pick<IOptions, "accessKey" | "activeStateEnabled" | "disabled" | "elementAttr" | "focusStateEnabled" | "height" | "hint" | "hoverStateEnabled" | "isValid" | "name" | "onContentReady" | "onDisposing" | "onInitialized" | "onOptionChanged" | "onValueChanged" | "readOnly" | "rtlEnabled" | "switchedOffText" | "switchedOnText" | "tabIndex" | "validationError" | "validationErrors" | "validationMessageMode" | "validationStatus" | "value" | "visible" | "width">;
interface DxSwitch extends AccessibleOptions {
readonly instance?: Switch;
}
declare const DxSwitch: VueType.VueConstructor<{
instance: Switch;
} & {
accessKey: string;
activeStateEnabled: boolean;
disabled: boolean;
elementAttr: any;
focusStateEnabled: boolean;
height: string | number | Function;
hint: string;
hoverStateEnabled: boolean;
isValid: boolean;
name: string;
onContentReady: Function;
onDisposing: Function;
onInitialized: Function;
onOptionChanged: Function;
onValueChanged: Function;
readOnly: boolean;
rtlEnabled: boolean;
switchedOffText: string;
switchedOnText: string;
tabIndex: number;
validationError: any;
validationErrors: unknown[];
validationMessageMode: string;
validationStatus: string;
value: boolean;
visible: boolean;
width: string | number | Function;
} & VueType.default>;
export default DxSwitch;
export { DxSwitch };