Previous in this serie

No items found.

Tile - Customize by script

Alter the behavior of a tile dynamically by script

Custom code

function customizeTile(tile) {

  var division = localStorage.getItem("division");

  switch (division) {

    case "division1":

      tile.jumpto = "https://division1";

      tile.inShort = "MPSI system";

      break;

    default:

      break;

  }


  return tile;

}



Next in this series

No items found.