UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

27 lines (26 loc) 896 B
/// <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; showItemIndexInView: boolean; } export declare class ListScrollingExample extends React.Component<IListScrollingExampleProps, IListScrollingExampleState> { private _list; constructor(props: IListScrollingExampleProps); render(): JSX.Element; componentWillUnmount(): void; private _getPageHeight(idx); private _onChangeText; private _onDropdownChange; private _onRenderCell; private _scrollRelative; private _scroll; private _resolveList; private _onShowItemIndexInViewChanged; }