Docs · API reference · Verso.Abstractions

LayoutScriptLoadMode Enum#

Controls how the browser loads the script relative to HTML parsing.

public enum LayoutScriptLoadMode

Fields#

Defer 0

Deferred load: fetched in parallel, executed after parsing in source order. Default.

Async 1

Async load: fetched in parallel, executed as soon as available; no ordering guarantees.

Blocking 2

Blocking load: parsing pauses until the script is fetched and executed.