merge(['class' => 'flex items-center justify-between px-2 sm:gap-2 sm:px-4']) }} x-data="{showLeft: true, showRight: true, update() { this.showLeft = this.$refs.region.scrollLeft > 0; this.showRight = this.$refs.region.scrollLeft + this.$refs.region.offsetWidth < this.$refs.region.scrollWidth - 8; } }" x-init="$refs.region.querySelector('[data-selecionado=true]').scrollIntoView({ block: 'end', inline: 'center' })" >
{{ $slot }}