update the master branch to the latest
This commit is contained in:
parent
67d534df27
commit
23a0ba9831
611 changed files with 122648 additions and 0 deletions
27
types/time.d.ts
vendored
Normal file
27
types/time.d.ts
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
// Type definitions for iview 3.3.1
|
||||
// Project: https://github.com/iview/iview
|
||||
// Definitions by: yangdan
|
||||
// Definitions: https://github.com/yangdan8/iview.git
|
||||
import Vue from 'vue';
|
||||
|
||||
export declare class Time extends Vue {
|
||||
/**
|
||||
* 需要对比的时间,可以是时间戳或 Date 类型
|
||||
*/
|
||||
time?: number |Date |string;
|
||||
/**
|
||||
* 类型,可选值为 relative、date 或 datetime
|
||||
* @default relative
|
||||
*/
|
||||
type?: 'relative'|'date'|'datetime';
|
||||
/**
|
||||
* 自动更新的间隔,单位:秒
|
||||
* @default 60
|
||||
*/
|
||||
interval?: number;
|
||||
/**
|
||||
* 填写该值,点击会定位锚点
|
||||
* @default false
|
||||
*/
|
||||
hash?: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue