UNPKG

primevue

Version:

PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc

80 lines (67 loc) 2.03 kB
/** * * Sidebar is a panel component displayed as an overlay at the edges of the screen. * * [Live Demo](https://primevue.org/drawer) * * @module sidebar * */ import type { DefineComponent, EmitFn } from '@primevue/core'; import * as Drawer from 'primevue/drawer'; import 'vue'; /** * Custom passthrough(pt) option method. */ export interface SidebarPassThroughMethodOptions extends Drawer.DrawerPassThroughMethodOptions {} /** * Custom shared passthrough(pt) option method. */ export interface SidebarSharedPassThroughMethodOptions extends Drawer.DrawerSharedPassThroughMethodOptions {} /** * Custom passthrough(pt) options. * @see {@link SidebarProps.pt} */ export interface SidebarPassThroughOptions extends Drawer.DrawerPassThroughOptions {} /** * Custom passthrough attributes for each DOM elements */ export interface SidebarPassThroughAttributes extends Drawer.DrawerPassThroughAttributes {} /** * Defines current inline state in Sidebar component. */ export interface SidebarState extends Drawer.DrawerState {} /** * Defines valid properties in Sidebar component. */ export interface SidebarProps extends Drawer.DrawerProps {} /** * Defines valid slots in Sidebar component. */ export interface SidebarSlots extends Drawer.DrawerSlots {} /** * Defines valid emits in Sidebar component. */ export interface SidebarEmitsOptions {} export declare type SidebarEmits = EmitFn<SidebarEmitsOptions> & Drawer.DrawerEmits; /** * @deprecated since v4. Use Drawer component instead. * * **PrimeVue - Sidebar** * * _Sidebar is a panel component displayed as an overlay._ * * [Live Demo](https://www.primevue.org/drawer/) * --- --- * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png) * * @group Component * */ declare const Sidebar: DefineComponent<SidebarProps, SidebarSlots, SidebarEmits>; declare module 'vue' { export interface GlobalComponents { Sidebar: DefineComponent<SidebarProps, SidebarSlots, SidebarEmits>; } } export default Sidebar;