Blame view

dist/types/breadcrumb.d.ts 685 Bytes
a3a90be7   梁灏   update
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  // Type definitions for iview 3.0.1
  // Project: https://github.com/iview/iview
  // Definitions by: yangdan
  // Definitions: https://github.com/yangdan8/iview.git
  import Vue from 'vue';
  
  export declare class Breadcrumb extends Vue {
    /**
     * 自定义分隔符
     * @default /
     */
    separator?: string;
  }
  
  export declare class BreadcrumbItem extends Vue {
    /**
     * 链接,不传则没有链接
     */
    to?: string | object;
    /**
     * 路由跳转时,开启 replace 将不会向 history 添加新记录
     * @default false
     */
    replace?: boolean;
    /**
     * 相当于 a 链接的 target 属性
       * @default _self
     */
    target?: '_blank' | '_self' | '_parent' | '_top';
  }