Module: Datastar::Consts::FragmentMergeMode

Defined in:
lib/datastar/consts.rb

Constant Summary collapse

MORPH =

Morphs the fragment into the existing element using idiomorph.

'morph'
INNER =

Replaces the inner HTML of the existing element.

'inner'
OUTER =

Replaces the outer HTML of the existing element.

'outer'
PREPEND =

Prepends the fragment to the existing element.

'prepend'
APPEND =

Appends the fragment to the existing element.

'append'
BEFORE =

Inserts the fragment before the existing element.

'before'
AFTER =

Inserts the fragment after the existing element.

'after'
UPSERT_ATTRIBUTES =

Upserts the attributes of the existing element.

'upsertAttributes'