Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mapWithIndex (0.15 sec)

  1. manifests/addons/dashboards/lib/lib-grid.libsonnet

          local col = std.mod(index, panelsPerRow);
          panel + { gridPos+: { x: panel.gridPos.w * col } };
    
        local panelsBeforeRowsWithX = std.mapWithIndex(CalculateXforPanel, panelsBeforeRows);
    
        local rowPanelsWithX =
          std.map(
            function(row)
              row + { panels: std.mapWithIndex(CalculateXforPanel, row.panels) },
            rowPanels
          );
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top