Docs · API reference · Verso.Abstractions

LayoutScriptPlacement Enum#

Controls where the <script> tag is rendered relative to the layout root.

public enum LayoutScriptPlacement

Fields#

BeforeLayoutHtml 0

Render before the layout root, so the script can observe layout-mount events.

AfterLayoutHtml 1

Render after the layout root, so the script can immediately query the rendered DOM. Default.