Toolbar d.ts updated
parent
71675bff08
commit
da15632f35
|
@ -1,6 +1,18 @@
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Toolbar is a grouping component for buttons and other content.
|
||||||
|
*
|
||||||
|
* [Live Demo](https://www.primevue.org/toolbar/)
|
||||||
|
*
|
||||||
|
* @module toolbar
|
||||||
|
*
|
||||||
|
*/
|
||||||
import { VNode } from 'vue';
|
import { VNode } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Defines valid properties in Toolbar component.
|
||||||
|
*/
|
||||||
export interface ToolbarProps {
|
export interface ToolbarProps {
|
||||||
/**
|
/**
|
||||||
* Defines a string value that labels an interactive element.
|
* Defines a string value that labels an interactive element.
|
||||||
|
@ -8,26 +20,43 @@ export interface ToolbarProps {
|
||||||
'aria-labelledby'?: string | undefined;
|
'aria-labelledby'?: string | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Defines valid slots in Toolbar slots.
|
||||||
|
*/
|
||||||
export interface ToolbarSlots {
|
export interface ToolbarSlots {
|
||||||
/**
|
/**
|
||||||
* Custom start template.
|
* Custom start template.
|
||||||
*/
|
*/
|
||||||
start: () => VNode[];
|
start(): VNode[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom center template.
|
* Custom center template.
|
||||||
*/
|
*/
|
||||||
center: () => VNode[];
|
center(): VNode[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom end template.
|
* Custom end template.
|
||||||
*/
|
*/
|
||||||
end: () => VNode[];
|
end(): VNode[];
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Defines valid emits in Toolbar component.
|
||||||
|
*/
|
||||||
|
export interface ToolbarEmits {}
|
||||||
|
|
||||||
export declare type ToolbarEmits = {};
|
/**
|
||||||
|
* **PrimeVue - Toolbar**
|
||||||
declare class Toolbar extends ClassComponent<ToolbarProps, ToolbarSlots, ToolbarEmits> {}
|
*
|
||||||
|
* _Toolbar is a grouping component for buttons and other content._
|
||||||
|
*
|
||||||
|
* [Live Demo](https://www.primevue.org/toolbar/)
|
||||||
|
* --- ---
|
||||||
|
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo.svg)
|
||||||
|
*
|
||||||
|
* @group Component
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
export declare class Toolbar extends ClassComponent<ToolbarProps, ToolbarSlots, ToolbarEmits> {}
|
||||||
|
|
||||||
declare module '@vue/runtime-core' {
|
declare module '@vue/runtime-core' {
|
||||||
interface GlobalComponents {
|
interface GlobalComponents {
|
||||||
|
|
Loading…
Reference in New Issue