UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

21 lines (20 loc) 692 B
/// <reference types="react" /> import * as React from 'react'; import './List.Scrolling.Example.scss'; export interface IListScrollingExampleProps { items: any[]; } export interface IListScrollingExampleState { selectedIndex: number; } export declare class ListScrollingExample extends React.Component<IListScrollingExampleProps, IListScrollingExampleState> { private _list; constructor(props: IListScrollingExampleProps); render(): JSX.Element; private _getPageHeight(idx); private _onChangeText(value); private _onRenderCell(item, index); private _scrollRelative(delta); private _scroll(index); private _resolveList(list); }