office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
24 lines (23 loc) • 839 B
TypeScript
/// <reference types="react" />
import * as React from 'react';
import { ScrollToMode } from 'office-ui-fabric-react/lib/List';
import './List.Scrolling.Example.scss';
export interface IListScrollingExampleProps {
items: any[];
}
export interface IListScrollingExampleState {
selectedIndex: number;
scrollToMode: ScrollToMode;
}
export declare class ListScrollingExample extends React.Component<IListScrollingExampleProps, IListScrollingExampleState> {
private _list;
constructor(props: IListScrollingExampleProps);
render(): JSX.Element;
private _getPageHeight(idx);
private _onChangeText(value);
private _onDropdownChanged(option);
private _onRenderCell(item, index);
private _scrollRelative(delta);
private _scroll(index, scrollToMode);
private _resolveList;
}