Skip to content

Documentation


Documentation / @blazetrails/actionpack / ActionView / provide

Function: provide() ​

Call Signature ​

provide(this, name, content, block): Promise<SafeBuffer | null>

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

Parameters ​

ParameterType
thisCaptureHelperHost
namestring
contentunknown
block() => PromiseLike<unknown>

Returns ​

Promise<SafeBuffer | null>

Call Signature ​

provide(this, name, content?, block?): SafeBuffer | null

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

Parameters ​

ParameterType
thisCaptureHelperHost
namestring
content?unknown
block?() => unknown

Returns ​

SafeBuffer | null