PageSourceSearch

https://sifrovacky.cz/assets/community/controllers/game_series/dropdown_controller-5c613594.js

js sifrovacky.cz collected 2026-10-05 02:16:18 UTC 492 bytes, 22 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2import TomSelect from "tom-select"
3
4export const defaultSettings = {
5  placeholder: 'Vyberte hru …',
6  maxItems: 1,
7  maxOptions: 10,
8  openOnFocus: true,
9  closeAfterSelect: true,
10  hidePlaceholder: true,
11  // plugins: ['remove_button'],
12  preload: 'focus',
13  // valueField: 'id',
14  // searchField: ['title', 'name', 'text'],
15}
16
17export default class extends Controller {
18  connect() {
19    new TomSelect(this.element, defaultSettings)
20  }
21}
22

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.