Sha256: 5358c763fa5e3d4ff9773e8516cf0e5f982a344baa120d9d105852102f13ee14
Contents?: true
Size: 601 Bytes
Versions: 10
Compression:
Stored size: 601 Bytes
Contents
Alchemy = window.Alchemy || {} Alchemy.Solidus = Alchemy.Solidus || {} Alchemy.Solidus.getSelect2Config = function (options) { var headers = { Authorization: "Bearer " + options.apiToken, } return { placeholder: options.placeholder, minimumInputLength: 3, initSelection: options.initSelection || function (_$el, callback) { if (options.initialSelection) { callback(options.initialSelection) } }, ajax: { url: options.baseUrl, datatype: "json", quietMillis: 300, params: { headers: headers }, }, } }
Version data entries
10 entries across 10 versions & 1 rubygems