Module: Datastar::Consts::ElementPatchMode

Defined in:
lib/datastar/consts.rb

Constant Summary collapse

OUTER =

Morphs the element into the existing element.

'outer'
INNER =

Replaces the inner HTML of the existing element.

'inner'
REMOVE =

Removes the existing element.

'remove'
REPLACE =

Replaces the existing element with the new element.

'replace'
PREPEND =

Prepends the element inside to the existing element.

'prepend'
APPEND =

Appends the element inside the existing element.

'append'
BEFORE =

Inserts the element before the existing element.

'before'
AFTER =

Inserts the element after the existing element.

'after'