UNPKG

@esri/calcite-components

Version:

Web Components for Esri's Calcite Design System.

11 lines (9 loc) 309 B
/*! * All material copyright ESRI, All Rights Reserved, unless otherwise specified. * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details. * v1.5.0-next.4 */ function getRoundRobinIndex(index, total) { return (index + total) % total; } export { getRoundRobinIndex as g };