UNPKG

@esri/calcite-components

Version:

Web Components for Esri's Calcite Design System.

13 lines (10 loc) 337 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 */ 'use strict'; function getRoundRobinIndex(index, total) { return (index + total) % total; } exports.getRoundRobinIndex = getRoundRobinIndex;