/** * DevExtreme (ui/multi_view.d.ts) * Version: 21.1.7 * Build date: Thu Aug 07 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ import { UserDefinedElement, } from '../core/element'; import DataSource, { Options as DataSourceOptions, } from '../data/data_source'; import Store from '../data/abstract_store'; import { EventInfo, NativeEventInfo, InitializedEventInfo, ChangedOptionInfo, ItemInfo, } from '../events/index'; import CollectionWidget, { CollectionWidgetItem, CollectionWidgetOptions, SelectionChangedInfo, } from './collection/ui.collection_widget.base'; /** @public */ export type ContentReadyEvent = EventInfo; /** @public */ export type DisposingEvent = EventInfo; /** @public */ export type InitializedEvent = InitializedEventInfo; /** @public */ export type ItemClickEvent = NativeEventInfo & ItemInfo; /** @public */ export type ItemContextMenuEvent = NativeEventInfo & ItemInfo; /** @public */ export type ItemHoldEvent = NativeEventInfo & ItemInfo; /** @public */ export type ItemRenderedEvent = EventInfo & ItemInfo; /** @public */ export type OptionChangedEvent = EventInfo & ChangedOptionInfo; /** @public */ export type SelectionChangedEvent = EventInfo & SelectionChangedInfo; /** * @deprecated use Properties instead * @namespace DevExpress.ui */ export interface dxMultiViewOptions extends CollectionWidgetOptions { /** * @docid * @default true * @public */ animationEnabled?: boolean; /** * @docid * @type string | Array | Store | DataSource | DataSourceOptions * @default null * @public */ dataSource?: string | Array | Store | DataSource | DataSourceOptions; /** * @docid * @default true * @public */ deferRendering?: boolean; /** * @docid * @default true &for(desktop) * @public */ focusStateEnabled?: boolean; /** * @docid * @type Array * @fires dxMultiViewOptions.onOptionChanged * @public */ items?: Array; /** * @docid * @default false * @public */ loop?: boolean; /** * @docid * @default 0 * @public */ selectedIndex?: number; /** * @docid * @default true * @public */ swipeEnabled?: boolean; } /** * @docid * @inherits CollectionWidget * @namespace DevExpress.ui * @public */ export default class dxMultiView extends CollectionWidget { constructor(element: UserDefinedElement, options?: dxMultiViewOptions) } /** * @public * @namespace DevExpress.ui.dxMultiView */ export type Item = dxMultiViewItem; /** * @deprecated Use Item instead * @namespace DevExpress.ui */ export interface dxMultiViewItem extends CollectionWidgetItem { } /** @public */ export type Properties = dxMultiViewOptions; /** @deprecated use Properties instead */ export type Options = dxMultiViewOptions; /** @deprecated use Properties instead */ export type IOptions = dxMultiViewOptions;