Skip to content

RedotUploader

Purpose

Provides the behavior behind <x-uploader>.

What It Handles

  • hidden file input creation
  • click-to-upload behavior
  • drag and drop
  • file filtering
  • file size validation
  • async uploads
  • preview rendering
  • empty-state handling
  • sorting uploaded items
  • syncing final JSON state back to the hidden field

Used By

  • uploader init
  • <x-uploader>

All rights reserved.