Diff

Original
Updated
Attribute Type Documentation Default Value
id :any
Required label * :string
position :integer

Initial reveal percentage (0–100)

50
static :boolean false
class :any
style :string

Additional CSS declarations before the managed value

rest :global
Required before_content * :slot
<:before_content><div class="h-full bg-primary-container"><span class="diff-label">Original</span></div></:before_content>
Required after_content * :slot
<:after_content><div class="h-full bg-tertiary-container"><span class="diff-label">Updated</span></div></:after_content>