/** * DevExtreme (ui/slide_out_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, DxElement, } from '../core/element'; import { DxPromise, } from '../core/utils/deferred'; import { template, } from '../core/templates/template'; import { EventInfo, InitializedEventInfo, ChangedOptionInfo, } from '../events/index'; import Widget, { WidgetOptions, } from './widget/ui.widget'; /** @public */ export type DisposingEvent = EventInfo; /** @public */ export type InitializedEvent = InitializedEventInfo; /** @public */ export type OptionChangedEvent = EventInfo & ChangedOptionInfo; /** * @deprecated use Properties instead * @namespace DevExpress.ui */ export interface dxSlideOutViewOptions extends WidgetOptions { /** * @docid * @default "content" * @public */ contentTemplate?: template | ((contentElement: DxElement) => any); /** * @docid * @type Enums.SlideOutMenuPosition * @default "normal" * @public */ menuPosition?: 'inverted' | 'normal'; /** * @docid * @default null * @public */ menuTemplate?: template | ((menuElement: DxElement) => any); /** * @docid * @default false * @public */ menuVisible?: boolean; /** * @docid * @default true * @public */ swipeEnabled?: boolean; } /** * @docid * @inherits Widget * @hasTranscludedContent * @namespace DevExpress.ui * @deprecated dxDrawer * @public */ export default class dxSlideOutView extends Widget { constructor(element: UserDefinedElement, options?: dxSlideOutViewOptions) /** * @docid * @publicName content() * @public */ content(): DxElement; /** * @docid * @publicName hideMenu() * @return Promise * @public */ hideMenu(): DxPromise; /** * @docid * @publicName menuContent() * @public */ menuContent(): DxElement; /** * @docid * @publicName showMenu() * @return Promise * @public */ showMenu(): DxPromise; /** * @docid * @publicName toggleMenuVisibility(showing) * @param1 showing:Boolean|undefined * @return Promise * @public */ toggleMenuVisibility(showing?: boolean): DxPromise; } /** @public */ export type Properties = dxSlideOutViewOptions; /** @deprecated use Properties instead */ export type Options = dxSlideOutViewOptions; /** @deprecated use Properties instead */ export type IOptions = dxSlideOutViewOptions;