office-ui-fabric-react
Version:
Reusable React components for building experiences for Microsoft 365.
26 lines • 855 B
JavaScript
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* {@docCategory List}
*/
exports.ScrollToMode = {
/**
* Does not make any consideration to where in the viewport the item should align to.
*/
auto: 0,
/**
* Attempts to scroll the list so the top of the desired item is aligned with the top of the viewport.
*/
top: 1,
/**
* Attempts to scroll the list so the bottom of the desired item is aligned with the bottom of the viewport.
*/
bottom: 2,
/**
* Attempts to scroll the list so the desired item is in the exact center of the viewport.
*/
center: 3,
};
});
//# sourceMappingURL=List.types.js.map