iview/types/breadcrumb.d.ts

30 lines
704 B
TypeScript
Raw Normal View History

2018-08-31 18:04:17 +08:00
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue';
export declare interface Breadcrumb extends Vue {
/**
*
* @default /
*/
separator?: string;
}
export declare interface BreadcrumbItem extends Vue {
/**
*
*/
to?: string | object;
/**
* replace history
* @default false
*/
replace?: boolean;
/**
* a target
* @default _self
*/
target?: '_blank' | '_self' | '_parent' | '_top';
}