Documentation / @zerotal/flow / index / Loading
Function: Loading()
Loading(
props):HtmlNode
Defined in: flow/src/components.ts:876
A region that is visible only while a matching server action is in flight — for inline spinners, "Saving…" text or a skeleton placeholder.
Parameters
props
Returns
Remarks
target scopes it to one or more named actions; hide removes the region instead
of toggling it, and delay waits before showing (to avoid flicker on fast requests).
Pass skeleton to render a Skeleton when no children are given; tag
chooses the wrapper element (default "span").
Example
<Loading target="save">Saving…</Loading>
<Loading skeleton delay />