mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Fixed #3802 - Improve folder structure for nuxt configurations
This commit is contained in:
parent
851950270b
commit
f5fe822afb
563 changed files with 1703 additions and 1095 deletions
82
components/lib/breadcrumb/Breadcrumb.d.ts
vendored
Executable file
82
components/lib/breadcrumb/Breadcrumb.d.ts
vendored
Executable file
|
@ -0,0 +1,82 @@
|
|||
/**
|
||||
*
|
||||
* Breadcrumb provides contextual information about page hierarchy.
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/breadcrumb/)
|
||||
*
|
||||
* @module breadcrumb
|
||||
*
|
||||
*/
|
||||
import { VNode } from 'vue';
|
||||
import { MenuItem } from '../menuitem';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
/**
|
||||
* Defines valid properties in Breadcrumb component.
|
||||
*/
|
||||
export interface BreadcrumbProps {
|
||||
/**
|
||||
* An array of menuitems.
|
||||
*/
|
||||
model?: MenuItem[] | undefined;
|
||||
/**
|
||||
* Configuration for the home icon.
|
||||
*/
|
||||
home?: MenuItem | undefined;
|
||||
/**
|
||||
* Whether to apply 'router-link-active-exact' class if route exactly matches the item path.
|
||||
* @defaultValue true
|
||||
*/
|
||||
exact?: boolean | undefined;
|
||||
/**
|
||||
* Defines a string value that labels an interactive element.
|
||||
*/
|
||||
'aria-label'?: string | undefined;
|
||||
/**
|
||||
* Identifier of the underlying menu element.
|
||||
*/
|
||||
'aria-labelledby'?: string | undefined;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines valid slots in Breadcrumb component.
|
||||
*/
|
||||
export interface BreadcrumbSlots {
|
||||
/**
|
||||
* Custom item template.
|
||||
* @param {Object} scope - item slot's params.
|
||||
*/
|
||||
item(scope: {
|
||||
/**
|
||||
* Menuitem instance
|
||||
*/
|
||||
item: MenuItem;
|
||||
}): VNode[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines valid emits in Breadcrumb component.
|
||||
*/
|
||||
export interface BreadcrumbEmits {}
|
||||
|
||||
/**
|
||||
* **PrimeVue - Breadcrumb**
|
||||
*
|
||||
* _Breadcrumb provides contextual information about page hierarchy._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/breadcrumb/)
|
||||
* --- ---
|
||||
* 
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Breadcrumb extends ClassComponent<BreadcrumbProps, BreadcrumbSlots, BreadcrumbEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
Breadcrumb: GlobalComponentConstructor<Breadcrumb>;
|
||||
}
|
||||
}
|
||||
|
||||
export default Breadcrumb;
|
Loading…
Add table
Add a link
Reference in a new issue