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.