Swap

Attribute Type Documentation Default Value
class :any
animation :string
rest :global
swap_on :slot

the child element that should be visible when checkbox is checked or when swap is active

Show slot attributes Hide slot attributes
type :string
Required name * :string
swap_off :slot

The child element that should be visible when checkbox is not checked or when swap is not active

Show slot attributes Hide slot attributes
type :string
Required name * :string
controller :slot

The swap input controller