/** * DevExtreme (ui/tabs.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, { 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 dxTabsOptions extends CollectionWidgetOptions { /** * @docid * @type string | Array | Store | DataSource | DataSourceOptions * @default null * @public */ dataSource?: string | Array | Store | DataSource | DataSourceOptions; /** * @docid * @default true &for(desktop) * @public */ focusStateEnabled?: boolean; /** * @docid * @default true * @public */ hoverStateEnabled?: boolean; /** * @docid * @type Array * @fires dxTabsOptions.onOptionChanged * @public */ items?: Array; /** * @docid * @default false * @public */ repaintChangesOnly?: boolean; /** * @docid * @default true * @default false &for(desktop) * @public */ scrollByContent?: boolean; /** * @docid * @default true * @public */ scrollingEnabled?: boolean; /** * @docid * @public */ selectedItems?: Array; /** * @docid * @type Enums.NavSelectionMode * @default 'single' * @public */ selectionMode?: 'multiple' | 'single'; /** * @docid * @default true * @default false &for(mobile_devices) * @public */ showNavButtons?: boolean; } /** * @docid * @inherits CollectionWidget * @namespace DevExpress.ui * @public */ export default class dxTabs extends CollectionWidget { constructor(element: UserDefinedElement, options?: dxTabsOptions) } /** * @public * @namespace DevExpress.ui.dxTabs */ export type Item = dxTabsItem; /** * @deprecated Use Item instead * @namespace DevExpress.ui */ export interface dxTabsItem extends CollectionWidgetItem { /** * @docid * @public */ badge?: string; /** * @docid * @public */ icon?: string; } /** @public */ export type Properties = dxTabsOptions; /** @deprecated use Properties instead */ export type Options = dxTabsOptions; /** @deprecated use Properties instead */ export type IOptions = dxTabsOptions;