PageSourceSearch

https://trixbrix.eu/assets/controllers/sortable_controller-d54380e5.js

js trixbrix.eu collected 2026-10-03 19:51:04 UTC 616 bytes, 22 lines download raw bytes

1import Sortable from 'stimulus-sortable'
2
3export default class extends Sortable {
4  connect() {
5    this.responseKindValue = "turbo-stream"
6    super.connect()
7  }
8
9  get defaultOptions() {
10    return {
11      animation: 500,
12      scroll: true,
13      // Chrome's native HTML5 drag rarely scrolls the window on its own —
14      // force SortableJS's own autoscroll so dragging near the viewport edge works.
15      forceAutoScrollFallback: true,
16      // 30px default is hidden behind the sticky navbar; widen the trigger zone.
17      scrollSensitivity: 120,
18      scrollSpeed: 25,
19      bubbleScroll: true
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.