Blame view

types/divider.d.ts 587 Bytes
414730dd   yangd   完成d.ts定义的优化
1
  // Type definitions for iview 3.0.1
454cdd17   yangd   完成新版本3.0.0的iview全...
2
3
4
  // Project: https://github.com/iview/iview
  // Definitions by: yangdan
  // Definitions: https://github.com/yangdan8/iview.git
438e24d7   yangd   去掉不需要用到的导出VNode
5
  import Vue from 'vue';
454cdd17   yangd   完成新版本3.0.0的iview全...
6
  
414730dd   yangd   完成d.ts定义的优化
7
  export declare class Divider extends Vue {
454cdd17   yangd   完成新版本3.0.0的iview全...
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
    /**
     * 水平还是垂直类型,可选值为 horizontal 或 vertical
     * @default horizontal
     */
    type?: 'horizontal' | 'vertical';
    /**
     * 分割线标题的位置,可选值为 left、right 或 center
     * @default center
     */
    orientation?: 'left' | 'right' | 'center';
    /**
     * 是否虚线
     * @default false
     */
    dashed?: boolean;
  }