Sha256: 819995839abd07ceed9f01c3125b852b45e30a8ee82c43128980b5dfc83db7fe
Contents?: true
Size: 435 Bytes
Versions: 31
Compression:
Stored size: 435 Bytes
Contents
/* eslint-disable no-ternary */ import createSortList from "src/decidim/admin/sort_list.component" // Once in DOM $(() => { const selector = ".js-sortable" const $sortable = $(selector) $sortable.each((index, elem) => { const item = (elem.id) ? `#${elem.id}` : selector createSortList(item, { handle: "li", forcePlaceholderSize: true, placeholderClass: "sort-placeholder" }) }) })
Version data entries
31 entries across 31 versions & 1 rubygems