2019-03-18 16:34:34 +08:00
|
|
|
// Type definitions for iview 3.3.1
|
2018-08-21 08:29:24 +08:00
|
|
|
// Project: https://github.com/iview/iview
|
|
|
|
// Definitions by: yangdan
|
|
|
|
// Definitions: https://github.com/yangdan8/iview.git
|
2019-01-05 22:29:10 +08:00
|
|
|
import Vue from 'vue';
|
2018-08-21 08:29:24 +08:00
|
|
|
|
2019-05-07 17:14:49 +08:00
|
|
|
export declare class Affix extends Vue {
|
2018-08-21 08:29:24 +08:00
|
|
|
/**
|
|
|
|
* 距离窗口顶部达到指定偏移量后触发
|
|
|
|
* @default 0
|
|
|
|
*/
|
|
|
|
'offset-top'?: number;
|
|
|
|
/**
|
|
|
|
* 距离窗口底部达到指定偏移量后触发
|
|
|
|
*/
|
|
|
|
'offset-bottom'?: number;
|
|
|
|
/**
|
|
|
|
* 在固定状态发生改变时触发
|
|
|
|
* @param value true | false
|
|
|
|
*/
|
|
|
|
$emit(eventName: 'on-change', value: boolean): this;
|
|
|
|
}
|