Formation Prestashop intégrateur: Sass / Les fonctions pour manipuler des listes

Vous êtes ici : Accueil / Prestashop intégrateur / Sass / Les fonctions pour manipuler des listes


Les fonctions pour manipuler des listes

  • length($list) - Returns the length of a list.
  • nth($list, $n) - Returns a specific item in a list.
  • join($list1, $list2, [$separator]) - Joins together two lists into one.
  • append($list1, $val, [$separator]) - Appends a single value onto the end of a list.
  • zip($lists...) - Combines several lists into a single multidimensional list.
  • index($list, $value) - Returns the position of a value within a list.