Skip to content

Documentation


Documentation / @blazetrails/actionpack / ActionView / contentFor

Function: contentFor() ​

contentFor(this, name, content?, options?, block?): SafeBuffer | Promise<SafeBuffer | null> | null

Defined in: packages/actionview/dist/helpers/capture-helper.d.ts:14

Parameters ​

ParameterType
thisCaptureHelperHost
namestring
content?unknown
options?{ flush?: boolean; }
options.flush?boolean
block?() => unknown

Returns ​

SafeBuffer | Promise<SafeBuffer | null> | null

Invented Arm ​

if — PERMANENT

Invented Arm ​

then — CONVERGEABLE output-buffer-capture-async-block-converge