Module: Datastar::Consts
- Defined in:
- lib/datastar/consts.rb
Defined Under Namespace
Modules: ElementPatchMode
Constant Summary collapse
- DATASTAR_KEY =
'datastar'- VERSION =
'1.0.0-RC.1'- DEFAULT_SSE_RETRY_DURATION =
The default duration for retrying SSE on connection reset. This is part of the underlying retry mechanism of SSE.
1000- DEFAULT_ELEMENTS_USE_VIEW_TRANSITIONS =
Should elements be patched using the ViewTransition API?
false- DEFAULT_PATCH_SIGNALS_ONLY_IF_MISSING =
Should a given set of signals patch if they are missing?
false- DEFAULT_ELEMENT_PATCH_MODE =
The mode in which an element is patched into the DOM.
ElementPatchMode::OUTER
- SELECTOR_DATALINE_LITERAL =
Dataline literals.
'selector'- MODE_DATALINE_LITERAL =
'mode'- ELEMENTS_DATALINE_LITERAL =
'elements'- USE_VIEW_TRANSITION_DATALINE_LITERAL =
'useViewTransition'- SIGNALS_DATALINE_LITERAL =
'signals'- ONLY_IF_MISSING_DATALINE_LITERAL =
'onlyIfMissing'