完成d.ts定义的优化
This commit is contained in:
parent
6da055f33f
commit
414730dde3
61 changed files with 353 additions and 382 deletions
22
types/affix.d.ts
vendored
Normal file
22
types/affix.d.ts
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
// 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, { VNode } from "vue";
|
||||
|
||||
export declare class Affix extends Vue {
|
||||
/**
|
||||
* 距离窗口顶部达到指定偏移量后触发
|
||||
* @default 0
|
||||
*/
|
||||
'offset-top'?: number;
|
||||
/**
|
||||
* 距离窗口底部达到指定偏移量后触发
|
||||
*/
|
||||
'offset-bottom'?: number;
|
||||
/**
|
||||
* 在固定状态发生改变时触发
|
||||
* @param value true | false
|
||||
*/
|
||||
$emit(eventName: 'on-change', value: boolean): this;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue