primevue-mirror/components/lib/sidebar/Sidebar.d.ts

80 lines
2.0 KiB
TypeScript
Raw Normal View History

2023-03-01 10:19:16 +00:00
/**
*
* Sidebar is a panel component displayed as an overlay at the edges of the screen.
*
2024-04-18 14:19:35 +00:00
* [Live Demo](https://primevue.org/drawer)
2023-03-01 10:19:16 +00:00
*
* @module sidebar
*
*/
2024-04-18 14:19:35 +00:00
import 'vue';
import * as Drawer from '../drawer';
import { DefineComponent, EmitFn, GlobalComponentConstructor } from '../ts-helpers';
2023-08-02 14:07:22 +00:00
2023-04-24 11:44:52 +00:00
/**
* Custom passthrough(pt) option method.
*/
2024-04-18 14:19:35 +00:00
export interface SidebarPassThroughMethodOptions extends Drawer.DrawerPassThroughMethodOptions {}
2023-04-24 11:44:52 +00:00
2024-04-15 08:08:42 +00:00
/**
* Custom shared passthrough(pt) option method.
*/
2024-04-18 14:19:35 +00:00
export interface SidebarSharedPassThroughMethodOptions extends Drawer.DrawerSharedPassThroughMethodOptions {}
2024-04-15 08:08:42 +00:00
2023-04-24 11:44:52 +00:00
/**
* Custom passthrough(pt) options.
* @see {@link SidebarProps.pt}
*/
2024-04-18 14:19:35 +00:00
export interface SidebarPassThroughOptions extends Drawer.DrawerPassThroughOptions {}
2023-04-24 11:44:52 +00:00
/**
* Custom passthrough attributes for each DOM elements
*/
2024-04-18 14:19:35 +00:00
export interface SidebarPassThroughAttributes extends Drawer.DrawerPassThroughAttributes {}
2023-04-24 11:44:52 +00:00
/**
* Defines current inline state in Sidebar component.
*/
2024-04-18 14:19:35 +00:00
export interface SidebarState extends Drawer.DrawerState {}
2023-04-24 11:44:52 +00:00
2023-03-01 10:19:16 +00:00
/**
* Defines valid properties in Sidebar component.
*/
2024-04-18 14:19:35 +00:00
export interface SidebarProps extends Drawer.DrawerProps {}
2022-09-06 12:03:37 +00:00
2023-03-01 10:19:16 +00:00
/**
* Defines valid slots in Sidebar component.
*/
2024-04-18 14:19:35 +00:00
export interface SidebarSlots extends Drawer.DrawerSlots {}
2022-09-06 12:03:37 +00:00
2023-03-01 10:19:16 +00:00
/**
* Defines valid emits in Sidebar component.
*/
2024-05-16 14:05:43 +00:00
export interface SidebarEmitsOptions {}
export declare type SidebarEmits = EmitFn<SidebarEmitsOptions> & Drawer.DrawerEmits;
2022-09-06 12:03:37 +00:00
2023-03-01 10:19:16 +00:00
/**
2024-04-18 14:19:35 +00:00
* @deprecated Deprecated since v4. Use Drawer component instead.
*
2023-03-01 10:19:16 +00:00
* **PrimeVue - Sidebar**
*
* _Sidebar is a panel component displayed as an overlay._
*
2024-04-18 14:19:35 +00:00
* [Live Demo](https://www.primevue.org/drawer/)
2023-03-01 10:19:16 +00:00
* --- ---
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
*
* @group Component
*
2023-03-01 10:19:16 +00:00
*/
declare const Sidebar: DefineComponent<SidebarProps, SidebarSlots, SidebarEmits>;
2022-09-06 12:03:37 +00:00
declare module 'vue' {
export interface GlobalComponents {
Sidebar: GlobalComponentConstructor<SidebarProps, SidebarSlots, SidebarEmits>;
2022-09-06 12:03:37 +00:00
}
}
export default Sidebar;