office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
20 lines • 837 B
JavaScript
export var ScrollToMode;
(function (ScrollToMode) {
/**
* Does not make any consideration to where in the viewport the item should align to.
*/
ScrollToMode[ScrollToMode["auto"] = 0] = "auto";
/**
* Attempts to scroll the list so the top of the desired item is aligned with the top of the viewport.
*/
ScrollToMode[ScrollToMode["top"] = 1] = "top";
/**
* Attempts to scroll the list so the bottom of the desired item is aligned with the bottom of the viewport.
*/
ScrollToMode[ScrollToMode["bottom"] = 2] = "bottom";
/**
* Attempts to scroll the list so the desired item is in the exact center of the viewport.
*/
ScrollToMode[ScrollToMode["center"] = 3] = "center";
})(ScrollToMode || (ScrollToMode = {}));
//# sourceMappingURL=List.types.js.map