iview/types/affix.d.ts
yangdan8 1011bd411a 1.update all d.ts to version3.3.1
2.change time.ts to time.d.ts
2019-03-18 16:34:34 +08:00

22 lines
No EOL
571 B
TypeScript

// 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 interface Affix extends Vue {
/**
* 距离窗口顶部达到指定偏移量后触发
* @default 0
*/
'offset-top'?: number;
/**
* 距离窗口底部达到指定偏移量后触发
*/
'offset-bottom'?: number;
/**
* 在固定状态发生改变时触发
* @param value true | false
*/
$emit(eventName: 'on-change', value: boolean): this;
}