2019-01-01 04:13:51 +00:00
|
|
|
// Project: https://github.com/vueComponent/ant-design-vue
|
|
|
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
|
|
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
|
|
|
|
2020-08-31 06:59:56 +00:00
|
|
|
import { AntdComponent, AntdProps } from './component';
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
export declare class Affix extends AntdComponent {
|
2020-08-31 06:59:56 +00:00
|
|
|
$props: AntdProps & {
|
2020-08-17 10:15:52 +00:00
|
|
|
/**
|
|
|
|
* Pixels to offset from top when calculating position of scroll
|
|
|
|
* @default 0
|
|
|
|
* @type number
|
|
|
|
*/
|
|
|
|
offsetTop?: number;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
2020-08-17 10:15:52 +00:00
|
|
|
/**
|
|
|
|
* Pixels to offset from bottom when calculating position of scroll
|
|
|
|
* @type number
|
|
|
|
*/
|
|
|
|
offsetBottom?: number;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
2020-08-17 10:15:52 +00:00
|
|
|
/**
|
|
|
|
* specifies the scrollable area dom node
|
|
|
|
* @default () => window
|
|
|
|
* @type Function
|
|
|
|
*/
|
|
|
|
target?: () => HTMLElement;
|
|
|
|
};
|
2019-01-01 04:13:51 +00:00
|
|
|
}
|