Skip to content

Documentation


Documentation / @blazetrails/actionpack / ActionView / Base

Class: Base ​

Defined in: packages/actionview/dist/base.d.ts:32

Extends ​

  • Omit<Context, "_layoutFor">.Omit<HelperMethods, "logger">.TseUtilMethods

Extended by ​

Constructors ​

Constructor ​

new Base(lookupContext?, assigns?, controller?): Base

Defined in: packages/actionview/dist/base.d.ts:86

Parameters ​

ParameterType
lookupContext?LookupContext | null
assigns?Record<string, unknown>
controller?unknown

Returns ​

Base

Invented Arm ​

if — PERMANENT

Properties ​

_assigns ​

_assigns: Record<string, unknown>

Defined in: packages/actionview/dist/base.d.ts:72


_backUrl ​

_backUrl: { }

Defined in: packages/actionview/dist/base.d.ts:101


_config ​

_config: unknown

Defined in: packages/actionview/dist/base.d.ts:78


_controller ​

_controller: ControllerLike | null

Defined in: packages/actionview/dist/base.d.ts:76


_defaultFormBuilder ​

_defaultFormBuilder: unknown

Defined in: packages/actionview/dist/base.d.ts:79


_filteredReferrer ​

_filteredReferrer: { }

Defined in: packages/actionview/dist/base.d.ts:102


_layoutFor ​

_layoutFor: (this, ...args) => SafeBuffer | Promise<SafeBuffer> | null

Defined in: packages/actionview/dist/base.d.ts:98

Parameters ​

ParameterType
thisCaptureHelperHost
...args(string | ((...args) => unknown) | null | undefined)[]

Returns ​

SafeBuffer | Promise<SafeBuffer> | null


_objectForFormBuilder ​

_objectForFormBuilder: (object) => unknown

Defined in: packages/actionview/dist/base.d.ts:103

Parameters ​

ParameterType
objectunknown

Returns ​

unknown


_request ​

_request: unknown

Defined in: packages/actionview/dist/base.d.ts:77


_routes ​

_routes: unknown

Defined in: packages/actionview/dist/base.d.ts:51


annotateRenderedViewWithFilenames ​

annotateRenderedViewWithFilenames: boolean

Defined in: packages/actionview/dist/base.d.ts:48


applyFormForOptionsBang ​

applyFormForOptionsBang: { }

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:38


assetPath ​

assetPath: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring | null | undefined
options?AssetPathOptions

Returns ​

string


assetUrl ​

assetUrl: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring | null | undefined
options?AssetPathOptions

Returns ​

string


assignController ​

assignController: (this, controller) => void

Defined in: packages/actionview/dist/helpers/index.d.ts:23

Parameters ​

ParameterType
thisControllerHelperHost
controllerControllerLike | null

Returns ​

void


atomFeed ​

atomFeed: (this, options, block) => unknown

Defined in: packages/actionview/dist/helpers/index.d.ts:9

Parameters ​

ParameterType
thisAtomFeedHelperHost
optionsAtomFeedOptions | undefined
blockBlock<AtomFeedBuilder>

Returns ​

unknown


audioPath ​

audioPath: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


audioTag ​

audioTag: (this, ...sources) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:27

Parameters ​

ParameterType
thisAssetTagHelperHost
...sourcesunknown[]

Returns ​

SafeBuffer


audioUrl ​

audioUrl: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


autoDiscoveryLinkTag ​

autoDiscoveryLinkTag: (this, type?, urlOptions?, tagOptions?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:27

Parameters ​

ParameterType
thisAssetTagHelperHost
type?string | null
urlOptions?string | Record<string, unknown>
tagOptions?Record<string, unknown>

Returns ​

SafeBuffer


automaticallyDisableSubmitTag ​

automaticallyDisableSubmitTag: boolean

Defined in: packages/actionview/dist/base.d.ts:44


buildTagValues ​

buildTagValues: { }

Defined in: packages/actionview/dist/helpers/index.d.ts:10


buttonTag ​

buttonTag: (this, contentOrOptions?, options?, block?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:31

Parameters ​

ParameterType
thisFormTagHelperHost
contentOrOptions?unknown
options?Record<string, unknown> | null
block?() => unknown

Returns ​

SafeBuffer


buttonTo ​

buttonTo: (this, name?, options?, htmlOptions?, block?) => Promise<SafeBuffer>

Defined in: packages/actionview/dist/helpers/index.d.ts:31

Parameters ​

ParameterType
thisUrlForHost
name?unknown
options?unknown
htmlOptions?HtmlOptions | null
block?Block

Returns ​

Promise<SafeBuffer>


cache ​

cache: (this, name?, options?, block?) => Promise<null>

Defined in: packages/actionview/dist/helpers/index.d.ts:29

Parameters ​

ParameterType
thisCacheHelperHost
name?unknown
options?Record<string, unknown>
block?() => unknown

Returns ​

Promise<null>


cacheFragmentName ​

cacheFragmentName: (this, name?, __namedParameters?) => unknown

Defined in: packages/actionview/dist/helpers/index.d.ts:29

Parameters ​

ParameterType
thisCacheHelperHost
name?unknown
__namedParameters?CacheFragmentNameOptions

Returns ​

unknown


cacheIf ​

cacheIf: (this, condition, name?, options?, block?) => Promise<null>

Defined in: packages/actionview/dist/helpers/index.d.ts:29

Parameters ​

ParameterType
thisCacheHelperHost
conditionunknown
name?unknown
options?Record<string, unknown>
block?() => unknown

Returns ​

Promise<null>


cacheUnless ​

cacheUnless: (this, condition, name?, options?, block?) => Promise<null>

Defined in: packages/actionview/dist/helpers/index.d.ts:29

Parameters ​

ParameterType
thisCacheHelperHost
conditionunknown
name?unknown
options?Record<string, unknown>
block?() => unknown

Returns ​

Promise<null>


capture ​

capture: {<TArgs>(this, block, ...args): Promise<SafeBuffer | null>; <TArgs>(this, block, ...args): SafeBuffer | null; }

Defined in: packages/actionview/dist/helpers/index.d.ts:12

Call Signature ​

<TArgs>(this, block, ...args): Promise<SafeBuffer | null>

Type Parameters ​
Type Parameter
TArgs extends unknown[]
Parameters ​
ParameterType
thisCaptureHelperHost
block(...args) => PromiseLike<unknown>
...argsTArgs
Returns ​

Promise<SafeBuffer | null>

Call Signature ​

<TArgs>(this, block, ...args): SafeBuffer | null

Type Parameters ​
Type Parameter
TArgs extends unknown[]
Parameters ​
ParameterType
thisCaptureHelperHost
block(...args) => unknown
...argsTArgs
Returns ​

SafeBuffer | null


cdataSection ​

cdataSection: (content) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:10

Parameters ​

ParameterType
contentunknown

Returns ​

SafeBuffer


checkbox ​

checkbox: (this, objectName, method, options?, checkedValue?, uncheckedValue?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:52

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>
checkedValue?unknown
uncheckedValue?unknown

Returns ​

unknown


checkBox ​

checkBox: (this, objectName, method, options?, checkedValue?, uncheckedValue?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:53

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>
checkedValue?unknown
uncheckedValue?unknown

Returns ​

unknown


checkboxTag ​

checkboxTag: (this, name, ...args) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:59

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
...argsunknown[]

Returns ​

SafeBuffer


checkBoxTag ​

checkBoxTag: (this, name, ...args) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:60

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
...argsunknown[]

Returns ​

SafeBuffer


classNames ​

classNames: (...args) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:10

Parameters ​

ParameterType
...argsunknown[]

Returns ​

SafeBuffer


colorField ​

colorField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:55

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


colorFieldTag ​

colorFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:39

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


computeAssetExtname ​

computeAssetExtname: (source, options?) => string | null

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
sourcestring
options?AssetPathOptions

Returns ​

string | null


computeAssetHost ​

computeAssetHost: (this, source?, options?) => string | undefined

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
source?string
options?AssetPathOptions

Returns ​

string | undefined


computeAssetPath ​

computeAssetPath: (source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
sourcestring
options?AssetPathOptions

Returns ​

string


concat ​

concat: (this, string) => OutputBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:21

Parameters ​

ParameterType
thisTextHelperHost
stringunknown

Returns ​

OutputBuffer


contentFor ​

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

Defined in: packages/actionview/dist/helpers/index.d.ts:12

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


contentTag ​

contentTag: {(this, name, contentOrOptionsWithBlock, options, escape, block): Promise<SafeBuffer>; (this, name, contentOrOptionsWithBlock?, options?, escape?, block?): SafeBuffer; }

Defined in: packages/actionview/dist/helpers/index.d.ts:10

Call Signature ​

(this, name, contentOrOptionsWithBlock, options, escape, block): Promise<SafeBuffer>

Parameters ​
ParameterType
thisTagHelperHost
namestring
contentOrOptionsWithBlockunknown
optionsRecord<string, unknown> | Hash<string, unknown> | null | undefined
escapeboolean | undefined
block() => PromiseLike<unknown>
Returns ​

Promise<SafeBuffer>

Call Signature ​

(this, name, contentOrOptionsWithBlock?, options?, escape?, block?): SafeBuffer

Parameters ​
ParameterType
thisTagHelperHost
namestring
contentOrOptionsWithBlock?unknown
options?Record<string, unknown> | Hash<string, unknown> | null
escape?boolean
block?() => unknown
Returns ​

SafeBuffer


controller ​

controller: ControllerLike | null

Defined in: packages/actionview/dist/base.d.ts:99


convertDirectUploadOptionToUrl ​

convertDirectUploadOptionToUrl: { }

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:76


convertToModel ​

convertToModel: (object) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:4

Parameters ​

ParameterType
objectunknown

Returns ​

unknown


cspMetaTag ​

cspMetaTag: (this, options?) => SafeBuffer | TagBuilder | null

Defined in: packages/actionview/dist/helpers/csp-helper.d.ts:7

Parameters ​

ParameterType
thisCspHelperHost
options?Record<string, unknown>

Returns ​

SafeBuffer | TagBuilder | null


csrfMetaTag ​

csrfMetaTag: (this) => Promise<SafeBuffer | null>

Defined in: packages/actionview/dist/helpers/csrf-helper.d.ts:9

Parameters ​

ParameterType
thisCsrfHelperHost

Returns ​

Promise<SafeBuffer | null>


csrfMetaTags ​

csrfMetaTags: (this) => Promise<SafeBuffer | null>

Defined in: packages/actionview/dist/helpers/csrf-helper.d.ts:8

Parameters ​

ParameterType
thisCsrfHelperHost

Returns ​

Promise<SafeBuffer | null>


currentCycle ​

currentCycle: (this, name?) => string | undefined

Defined in: packages/actionview/dist/helpers/index.d.ts:21

Parameters ​

ParameterType
thisTextHelperHost
name?string

Returns ​

string | undefined


currentTemplate ​

currentTemplate: Template | null

Defined in: packages/actionview/dist/base.d.ts:75

No Rails Equivalent ​

PERMANENT


cycle ​

cycle: (this, firstValue, ...rest) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:21

Parameters ​

ParameterType
thisTextHelperHost
firstValueunknown
...restunknown[]

Returns ​

string


dateField ​

dateField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:59

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


dateFieldTag ​

dateFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:43

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


datetimeField ​

datetimeField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:61

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


datetimeFieldTag ​

datetimeFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:45

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


datetimeLocalField ​

datetimeLocalField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:62

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


datetimeLocalFieldTag ​

datetimeLocalFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:46

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


debug ​

debug: (this, object) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:8

Parameters ​

ParameterType
thisTagHelperHost
objectunknown

Returns ​

SafeBuffer


debugMissingTranslation ​

debugMissingTranslation: boolean

Defined in: packages/actionview/dist/base.d.ts:46


defaultFormats ​

defaultFormats: readonly string[] | null | undefined

Defined in: packages/actionview/dist/base.d.ts:42


defaultFormBuilder ​

defaultFormBuilder: unknown

Defined in: packages/actionview/dist/base.d.ts:80


defaultFormBuilderClass ​

defaultFormBuilderClass: { }

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:79


digestPathFromTemplate ​

digestPathFromTemplate: (this, template) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:29

Parameters ​

ParameterType
thisCacheHelperHost
templateTemplate

Returns ​

string


distanceOfTimeInWords ​

distanceOfTimeInWords: (fromTime, toTime?, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:19

Parameters ​

ParameterType
fromTimeDistanceOfTimeInput
toTime?DistanceOfTimeInput
options?DistanceOfTimeOptions

Returns ​

string


distanceOfTimeInWordsToNow ​

distanceOfTimeInWordsToNow: (fromTime, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:19

Parameters ​

ParameterType
fromTimeTime | Date | Instant | TimeWithZone
options?DistanceOfTimeOptions

Returns ​

string


domClass ​

domClass: (recordOrClass, prefix?) => string

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:5

Parameters ​

ParameterType
recordOrClassunknown
prefix?string | null

Returns ​

string


domId ​

domId: (recordOrClass, prefix?) => string

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:5

Parameters ​

ParameterType
recordOrClassunknown
prefix?string | null

Returns ​

string


emailField ​

emailField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:66

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


emailFieldTag ​

emailFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:50

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


escapeJavascript ​

escapeJavascript: (javascript) => string | SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:11

Parameters ​

ParameterType
javascriptunknown

Returns ​

string | SafeBuffer


escapeOnce ​

escapeOnce: (html) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:10

Parameters ​

ParameterType
htmlstring

Returns ​

SafeBuffer


excerpt ​

excerpt: (text, phrase, options?) => string | null

Defined in: packages/actionview/dist/helpers/index.d.ts:21

Parameters ​

ParameterType
textstring | null | undefined
phrasestring | RegExp | null | undefined
options?ExcerptOptions

Returns ​

string | null


extraTagsForForm ​

extraTagsForForm: { }

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:66


faviconLinkTag ​

faviconLinkTag: (this, source?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:27

Parameters ​

ParameterType
thisAssetTagHelperHost
source?string
options?Record<string, unknown>

Returns ​

SafeBuffer


fieldErrorProc ​

fieldErrorProc: (this, htmlTag, instance) => unknown

Defined in: packages/actionview/dist/base.d.ts:34

Parameters ​

ParameterType
thisBase
htmlTagunknown
instanceunknown

Returns ​

unknown


fieldId ​

fieldId: (this, objectName, methodName, ...suffixes) => string

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:25

Parameters ​

ParameterType
thisFormTagHelperHost
objectNameunknown
methodNameunknown
...suffixesunknown[]

Returns ​

string


fieldName ​

fieldName: (this, objectName, methodName, ...methodNames) => string

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:27

Parameters ​

ParameterType
thisFormTagHelperHost
objectNameunknown
methodNameunknown
...methodNamesunknown[]

Returns ​

string

Missing Rails Args ​

join — PERMANENT


fields ​

fields: (this, scope?, options?, block?) => SafeBuffer | null

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:41

Parameters ​

ParameterType
thisFormHelperHost
scope?unknown
options?{[key: string]: unknown; model?: unknown; } | ((builder) => unknown)
block?(builder) => unknown

Returns ​

SafeBuffer | null


fieldsetTag ​

fieldsetTag: (this, legend?, options?, block?) => SafeBuffer | Promise<SafeBuffer>

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:38

Parameters ​

ParameterType
thisFormTagHelperHost
legend?unknown
options?Record<string, unknown> | null
block?() => unknown

Returns ​

SafeBuffer | Promise<SafeBuffer>

Invented Arm ​

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

Invented Arm ​

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


fieldSetTag ​

fieldSetTag: (this, legend?, options?, block?) => SafeBuffer | Promise<SafeBuffer>

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:37

Parameters ​

ParameterType
thisFormTagHelperHost
legend?unknown
options?Record<string, unknown> | null
block?() => unknown

Returns ​

SafeBuffer | Promise<SafeBuffer>

Invented Arm ​

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

Invented Arm ​

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


fieldsFor ​

fieldsFor: (this, recordName, recordObject?, options?, block?) => SafeBuffer | null

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:40

Parameters ​

ParameterType
thisFormHelperHost
recordNameunknown
recordObject?unknown
options?Record<string, unknown>
block?(builder) => unknown

Returns ​

SafeBuffer | null


fileField ​

fileField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:49

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


fileFieldTag ​

fileFieldTag: (this, name, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:55

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
options?Record<string, unknown>

Returns ​

SafeBuffer


fontPath ​

fontPath: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


fontUrl ​

fontUrl: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


formFor ​

formFor: (this, record, options?, block?) => Promise<SafeBuffer>

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:36

Parameters ​

ParameterType
thisFormHelperHost
recordunknown
options?Record<string, unknown>
block?(builder) => unknown

Returns ​

Promise<SafeBuffer>


formTag ​

formTag: (this, urlForOptions?, options?, block?) => Promise<SafeBuffer>

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:24

Parameters ​

ParameterType
thisFormTagHelperHost
urlForOptions?unknown
options?Record<string, unknown>
block?((...args) => unknown) | null

Returns ​

Promise<SafeBuffer>


formTagHtml ​

formTagHtml: { }

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:68


formTagWithBody ​

formTagWithBody: { }

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:70


formWith ​

formWith: (this, __namedParameters?, block?) => Promise<SafeBuffer>

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:39

Parameters ​

ParameterType
thisFormHelperHost
__namedParameters?FormWithOptions
block?(builder) => unknown

Returns ​

Promise<SafeBuffer>


h ​

h: (s) => SafeBuffer

Defined in: packages/actionview/dist/base.d.ts:26

Parameters ​

ParameterType
sunknown

Returns ​

SafeBuffer


hiddenField ​

hiddenField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:48

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


hiddenFieldTag ​

hiddenFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:54

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


highlight ​

highlight: (this, text, phrases, options?, block?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:21

Parameters ​

ParameterType
thisTagHelperHost
textstring | SafeBuffer | null | undefined
phrasesstring | RegExp | (string | RegExp)[] | null | undefined
options?HighlightOptions
block?(match) => string

Returns ​

SafeBuffer


htmlEscape ​

htmlEscape: (s) => SafeBuffer

Defined in: packages/actionview/dist/base.d.ts:27

Parameters ​

ParameterType
sunknown

Returns ​

SafeBuffer


htmlEscapeOnce ​

htmlEscapeOnce: (s) => SafeBuffer

Defined in: packages/actionview/dist/base.d.ts:28

Parameters ​

ParameterType
sunknown

Returns ​

SafeBuffer


htmlOptionsForForm ​

htmlOptionsForForm: { }

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:64


htmlOptionsForFormWith ​

htmlOptionsForFormWith: { }

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:71


imagePath ​

imagePath: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


imageSubmitTag ​

imageSubmitTag: (this, source, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:32

Parameters ​

ParameterType
thisFormTagHelperHost
sourceunknown
options?Record<string, unknown>

Returns ​

SafeBuffer


imageTag ​

imageTag: (this, source, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:27

Parameters ​

ParameterType
thisAssetTagHelperHost
sourceunknown
options?Record<string, unknown>

Returns ​

SafeBuffer


imageUrl ​

imageUrl: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


instantiateBuilder ​

instantiateBuilder: { }

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:77


isCaching ​

isCaching: (this) => boolean

Defined in: packages/actionview/dist/helpers/index.d.ts:29

Parameters ​

ParameterType
thisCacheHelperHost

Returns ​

boolean


isContentFor ​

isContentFor: (this, name) => boolean | Promise<boolean>

Defined in: packages/actionview/dist/helpers/index.d.ts:12

Parameters ​

ParameterType
thisCaptureHelperHost
namestring

Returns ​

boolean | Promise<boolean>


isCurrentPage ​

isCurrentPage: (this, options?, __namedParameters?) => boolean

Defined in: packages/actionview/dist/helpers/index.d.ts:31

Parameters ​

ParameterType
thisUrlForHost
options?unknown
__namedParameters?{[key: string]: unknown; checkParameters?: unknown; }
__namedParameters.checkParameters?unknown

Returns ​

boolean


isRespondTo ​

isRespondTo: (this, methodName, _includePrivate?) => boolean

Defined in: packages/actionview/dist/helpers/index.d.ts:23

Parameters ​

ParameterType
thisControllerHelperHost
methodNamestring
_includePrivate?boolean

Returns ​

boolean


j ​

j: (javascript) => string | SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:11

Parameters ​

ParameterType
javascriptunknown

Returns ​

string | SafeBuffer


javascriptCdataSection ​

javascriptCdataSection: { }

Defined in: packages/actionview/dist/helpers/index.d.ts:11


javascriptIncludeTag ​

javascriptIncludeTag: (this, ...sources) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:27

Parameters ​

ParameterType
thisAssetTagHelperHost
...sourcesunknown[]

Returns ​

SafeBuffer


javascriptPath ​

javascriptPath: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


javascriptTag ​

javascriptTag: (this, contentOrOptionsWithBlock?, htmlOptions?, block?) => SafeBuffer | Promise<SafeBuffer>

Defined in: packages/actionview/dist/helpers/index.d.ts:11

Parameters ​

ParameterType
thisTagHelperHost & { contentSecurityPolicyNonce: string | null; }
contentOrOptionsWithBlock?unknown
htmlOptions?Record<string, unknown>
block?() => unknown

Returns ​

SafeBuffer | Promise<SafeBuffer>

Invented Arm ​

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

Invented Arm ​

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


javascriptUrl ​

javascriptUrl: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


jsonEscape ​

jsonEscape: (s) => string | SafeBuffer

Defined in: packages/actionview/dist/base.d.ts:29

Parameters ​

ParameterType
sunknown

Returns ​

string | SafeBuffer


label ​

label: (this, objectName, method, contentOrOptions?, options?, block?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:45

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
contentOrOptions?unknown
options?Record<string, unknown> | null
block?(builder) => unknown

Returns ​

unknown


labelTag ​

labelTag: (this, name?, contentOrOptions?, options?, block?) => unknown

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:30

Parameters ​

ParameterType
thisFormTagHelperHost
name?unknown
contentOrOptions?unknown
options?Record<string, unknown> | null
block?() => unknown

Returns ​

unknown


linkTo ​

linkTo: (this, name?, options?, htmlOptions?, block?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:31

Parameters ​

ParameterType
thisUrlForHost
name?unknown
options?unknown
htmlOptions?HtmlOptions | null
block?Block

Returns ​

SafeBuffer


linkToIf ​

linkToIf: (this, condition, name, options?, htmlOptions?, block?) => SafeBuffer | null

Defined in: packages/actionview/dist/helpers/index.d.ts:31

Parameters ​

ParameterType
thisUrlForHost
conditionunknown
nameunknown
options?unknown
htmlOptions?HtmlOptions | null
block?Block

Returns ​

SafeBuffer | null


linkToUnless ​

linkToUnless: (this, condition, name, options?, htmlOptions?, block?) => SafeBuffer | null

Defined in: packages/actionview/dist/helpers/index.d.ts:31

Parameters ​

ParameterType
thisUrlForHost
conditionunknown
nameunknown
options?unknown
htmlOptions?HtmlOptions | null
block?Block

Returns ​

SafeBuffer | null


linkToUnlessCurrent ​

linkToUnlessCurrent: (this, name, options?, htmlOptions?, block?) => SafeBuffer | null

Defined in: packages/actionview/dist/helpers/index.d.ts:31

Parameters ​

ParameterType
thisUrlForHost
nameunknown
options?unknown
htmlOptions?HtmlOptions | null
block?Block

Returns ​

SafeBuffer | null


logger ​

logger: unknown

Defined in: packages/actionview/dist/base.d.ts:54


lookupContext ​

lookupContext: LookupContext | null

Defined in: packages/actionview/dist/base.d.ts:66


mailTo ​

mailTo: (this, emailAddress, name?, htmlOptions?, block?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:31

Parameters ​

ParameterType
thisUrlForHost
emailAddressunknown
name?unknown
htmlOptions?HtmlOptions | null
block?Block

Returns ​

SafeBuffer


methodTag ​

methodTag: { }

Defined in: packages/actionview/dist/helpers/index.d.ts:31


modelNameFromRecordOrClass ​

modelNameFromRecordOrClass: (recordOrClass) => ModelName

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:4

Parameters ​

ParameterType
recordOrClassunknown

Returns ​

ModelName


monthField ​

monthField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:63

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


monthFieldTag ​

monthFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:47

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


numberField ​

numberField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:67

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


numberFieldTag ​

numberFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:51

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


numberToCurrency ​

numberToCurrency: (number, options?) => unknown

Defined in: packages/actionview/dist/helpers/index.d.ts:15

Parameters ​

ParameterType
numberNumberLike
options?NumberHelperOptions

Returns ​

unknown


numberToHuman ​

numberToHuman: (number, options?) => unknown

Defined in: packages/actionview/dist/helpers/index.d.ts:15

Parameters ​

ParameterType
numberNumberLike
options?NumberHelperOptions

Returns ​

unknown


numberToHumanSize ​

numberToHumanSize: (number, options?) => unknown

Defined in: packages/actionview/dist/helpers/index.d.ts:15

Parameters ​

ParameterType
numberNumberLike
options?NumberHelperOptions

Returns ​

unknown


numberToPercentage ​

numberToPercentage: (number, options?) => unknown

Defined in: packages/actionview/dist/helpers/index.d.ts:15

Parameters ​

ParameterType
numberNumberLike
options?NumberHelperOptions

Returns ​

unknown


numberToPhone ​

numberToPhone: (number, options?) => SafeBuffer | null

Defined in: packages/actionview/dist/helpers/index.d.ts:15

Parameters ​

ParameterType
numberNumberLike
options?NumberHelperOptions

Returns ​

SafeBuffer | null


numberWithDelimiter ​

numberWithDelimiter: (number, options?) => unknown

Defined in: packages/actionview/dist/helpers/index.d.ts:15

Parameters ​

ParameterType
numberNumberLike
options?NumberHelperOptions

Returns ​

unknown


numberWithPrecision ​

numberWithPrecision: (number, options?) => unknown

Defined in: packages/actionview/dist/helpers/index.d.ts:15

Parameters ​

ParameterType
numberNumberLike
options?NumberHelperOptions

Returns ​

unknown


outputBuffer ​

outputBuffer: OutputBuffer | null

Defined in: packages/actionview/dist/context.d.ts:5


passwordField ​

passwordField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:47

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


passwordFieldTag ​

passwordFieldTag: (this, name?, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:56

Parameters ​

ParameterType
thisFormTagHelperHost
name?unknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


pathToAsset ​

pathToAsset: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring | null | undefined
options?AssetPathOptions

Returns ​

string


pathToAudio ​

pathToAudio: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


pathToFont ​

pathToFont: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


pathToImage ​

pathToImage: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


pathToJavascript ​

pathToJavascript: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


pathToStylesheet ​

pathToStylesheet: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


pathToVideo ​

pathToVideo: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


phoneField ​

phoneField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:58

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


phoneFieldTag ​

phoneFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:42

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


phoneTo ​

phoneTo: (this, phoneNumber, name?, htmlOptions?, block?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:31

Parameters ​

ParameterType
thisUrlForHost
phoneNumberunknown
name?unknown
htmlOptions?HtmlOptions | null
block?Block

Returns ​

SafeBuffer


pictureTag ​

pictureTag: (this, ...sources) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:27

Parameters ​

ParameterType
thisAssetUrlHelperHost & TagHelperHost & PreloadHeaderHost & { contentSecurityPolicyNonce?: string | null; polymorphicUrl?: string; urlFor: string; } & CaptureHelperHost
...sourcesunknown[] | [...unknown[], () => unknown]

Returns ​

SafeBuffer

Invented Arm ​

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

Invented Arm ​

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


pluralize ​

pluralize: (count, singular, pluralArg?, __namedParameters?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:21

Parameters ​

ParameterType
countstring | number | null | undefined
singularstring
pluralArg?string | null
__namedParameters?PluralizeOptions

Returns ​

string


prefixPartialPathWithControllerNamespace ​

prefixPartialPathWithControllerNamespace: boolean

Defined in: packages/actionview/dist/base.d.ts:39


preloadLinkTag ​

preloadLinkTag: (this, source, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:27

Parameters ​

ParameterType
thisAssetTagHelperHost
sourcestring
options?Record<string, unknown>

Returns ​

SafeBuffer


preventContentExfiltration ​

preventContentExfiltration: (html) => SafeBuffer

Defined in: packages/actionview/dist/helpers/content-exfiltration-prevention-helper.d.ts:9

Parameters ​

ParameterType
htmlSafeBuffer

Returns ​

SafeBuffer


provide ​

provide: {(this, name, content, block): Promise<SafeBuffer | null>; (this, name, content?, block?): SafeBuffer | null; }

Defined in: packages/actionview/dist/helpers/index.d.ts:12

Call Signature ​

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

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

Promise<SafeBuffer | null>

Call Signature ​

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

Parameters ​
ParameterType
thisCaptureHelperHost
namestring
content?unknown
block?() => unknown
Returns ​

SafeBuffer | null


publicComputeAssetPath ​

publicComputeAssetPath: (source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
sourcestring
options?AssetPathOptions

Returns ​

string


radioButton ​

radioButton: (this, objectName, method, tagValue, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:54

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
tagValueunknown
options?Record<string, unknown>

Returns ​

unknown


radioButtonTag ​

radioButtonTag: (this, name, value, ...args) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:61

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
valueunknown
...argsunknown[]

Returns ​

SafeBuffer


rangeField ​

rangeField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:68

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


rangeFieldTag ​

rangeFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:52

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


raw ​

raw: (stringish) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:6

Parameters ​

ParameterType
stringishunknown

Returns ​

SafeBuffer


request ​

request: unknown

Defined in: packages/actionview/dist/base.d.ts:100


resetCycle ​

resetCycle: (this, name?) => void

Defined in: packages/actionview/dist/helpers/index.d.ts:21

Parameters ​

ParameterType
thisTextHelperHost
name?string

Returns ​

void


safeConcat ​

safeConcat: (this, string) => OutputBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:21

Parameters ​

ParameterType
thisTextHelperHost
stringunknown

Returns ​

OutputBuffer


safeJoin ​

safeJoin: (array, sep?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:6

Parameters ​

ParameterType
arrayunknown[] | Record<string, unknown> | Hash<unknown, unknown>
sep?string | SafeBuffer | null

Returns ​

SafeBuffer


sanitize ​

sanitize: (this, html, options?) => SafeBuffer | null

Defined in: packages/actionview/dist/helpers/index.d.ts:17

Parameters ​

ParameterType
thisSanitizeHelperHost
htmlstring | null | undefined
options?Record<string, unknown>

Returns ​

SafeBuffer | null


sanitizeCss ​

sanitizeCss: (this, style) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:17

Parameters ​

ParameterType
thisSanitizeHelperHost
stylestring

Returns ​

string


sanitizeToId ​

sanitizeToId: { }

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:72


searchField ​

searchField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:56

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


searchFieldTag ​

searchFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:40

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


selectTag ​

selectTag: (this, name, optionTags?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:28

Parameters ​

ParameterType
thisFormTagHelperHost
namestring
optionTags?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


sendPreloadLinksHeader ​

sendPreloadLinksHeader: { }

Defined in: packages/actionview/dist/helpers/index.d.ts:27


setApplyStylesheetMediaDefault ​

setApplyStylesheetMediaDefault: (value) => void

Defined in: packages/actionview/dist/helpers/index.d.ts:27

Parameters ​

ParameterType
valueboolean | null

Returns ​

void


setButtonToGeneratesButtonTag ​

setButtonToGeneratesButtonTag: (value) => void

Defined in: packages/actionview/dist/helpers/index.d.ts:31

Parameters ​

ParameterType
valueboolean

Returns ​

void


setDefaultDisableWith ​

setDefaultDisableWith: { }

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:74


setDefaultEnforceUtf8 ​

setDefaultEnforceUtf8: (value) => void

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:23

Parameters ​

ParameterType
valueboolean

Returns ​

void


setEmbedAuthenticityTokenInRemoteForms ​

setEmbedAuthenticityTokenInRemoteForms: (value) => void

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:22

Parameters ​

ParameterType
valueboolean | null

Returns ​

void


setFormWithGeneratesIds ​

setFormWithGeneratesIds: (value) => void

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:34

Parameters ​

ParameterType
valueboolean

Returns ​

void


setFormWithGeneratesRemoteForms ​

setFormWithGeneratesRemoteForms: (value) => void

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:33

Parameters ​

ParameterType
valueboolean

Returns ​

void


setImageDecoding ​

setImageDecoding: (value) => void

Defined in: packages/actionview/dist/helpers/index.d.ts:27

Parameters ​

ParameterType
valuestring | null

Returns ​

void


setImageLoading ​

setImageLoading: (value) => void

Defined in: packages/actionview/dist/helpers/index.d.ts:27

Parameters ​

ParameterType
valuestring | null

Returns ​

void


setMultipleFileFieldIncludeHidden ​

setMultipleFileFieldIncludeHidden: (value) => void

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:35

Parameters ​

ParameterType
valueboolean

Returns ​

void


setPreloadLinksHeader ​

setPreloadLinksHeader: (value) => void

Defined in: packages/actionview/dist/helpers/index.d.ts:27

Parameters ​

ParameterType
valueboolean | null

Returns ​

void


setPrependContentExfiltrationPrevention ​

setPrependContentExfiltrationPrevention: (value) => void

Defined in: packages/actionview/dist/helpers/content-exfiltration-prevention-helper.d.ts:3

Parameters ​

ParameterType
valueboolean

Returns ​

void


simpleFormat ​

simpleFormat: (this, text, htmlOptions?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:21

Parameters ​

ParameterType
thisTagHelperHost
textstring | SafeBuffer | null | undefined
htmlOptions?Record<string, unknown>
options?SimpleFormatOptions

Returns ​

SafeBuffer


smsTo ​

smsTo: (this, phoneNumber, name?, htmlOptions?, block?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:31

Parameters ​

ParameterType
thisUrlForHost
phoneNumberunknown
name?unknown
htmlOptions?HtmlOptions | null
block?Block

Returns ​

SafeBuffer


streamingCompletionOnException ​

streamingCompletionOnException: string

Defined in: packages/actionview/dist/base.d.ts:36


stripLinks: (this, html) => string | null | undefined

Defined in: packages/actionview/dist/helpers/index.d.ts:17

Parameters ​

ParameterType
thisSanitizeHelperHost
htmlstring | null | undefined

Returns ​

string | null | undefined


stripTags ​

stripTags: (this, html) => SafeBuffer | null

Defined in: packages/actionview/dist/helpers/index.d.ts:17

Parameters ​

ParameterType
thisSanitizeHelperHost
htmlstring | null | undefined

Returns ​

SafeBuffer | null


stylesheetLinkTag ​

stylesheetLinkTag: (this, ...sources) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:27

Parameters ​

ParameterType
thisAssetTagHelperHost
...sourcesunknown[]

Returns ​

SafeBuffer


stylesheetPath ​

stylesheetPath: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


stylesheetUrl ​

stylesheetUrl: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


submitTag ​

submitTag: (this, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:62

Parameters ​

ParameterType
thisFormTagHelperHost
value?unknown
options?Record<string, unknown> | Hash<string, unknown>

Returns ​

SafeBuffer


tag ​

tag: {(this): ElementTagBuilder; (this, name, options?, open?, escape?): SafeBuffer; (this, name?, options?, open?, escape?): SafeBuffer | TagBuilder; }

Defined in: packages/actionview/dist/helpers/index.d.ts:10

Call Signature ​

(this): ElementTagBuilder

Parameters ​
ParameterType
thisTagHelperHost
Returns ​

ElementTagBuilder

Call Signature ​

(this, name, options?, open?, escape?): SafeBuffer

Parameters ​
ParameterType
thisTagHelperHost
namestring
options?Record<string, unknown> | Hash<unknown, unknown> | null
open?boolean
escape?boolean
Returns ​

SafeBuffer

Call Signature ​

(this, name?, options?, open?, escape?): SafeBuffer | TagBuilder

Parameters ​
ParameterType
thisTagHelperHost
name?string
options?Record<string, unknown> | Hash<unknown, unknown> | null
open?boolean
escape?boolean
Returns ​

SafeBuffer | TagBuilder


telephoneField ​

telephoneField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:57

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


telephoneFieldTag ​

telephoneFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:41

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


textarea ​

textarea: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:50

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


textArea ​

textArea: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:51

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


textareaTag ​

textareaTag: (this, name, content?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:57

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
content?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


textAreaTag ​

textAreaTag: (this, name, content?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:58

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
content?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


textField ​

textField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:46

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


textFieldTag ​

textFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:29

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


timeAgoInWords ​

timeAgoInWords: (fromTime, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:19

Parameters ​

ParameterType
fromTimeTime | Date | Instant | TimeWithZone
options?DistanceOfTimeOptions

Returns ​

string


timeField ​

timeField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:60

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


timeFieldTag ​

timeFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:44

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


tokenList ​

tokenList: (...args) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:10

Parameters ​

ParameterType
...argsunknown[]

Returns ​

SafeBuffer


tokenTag ​

tokenTag: { }

Defined in: packages/actionview/dist/helpers/index.d.ts:31


toSentence ​

toSentence: (array, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:6

Parameters ​

ParameterType
arrayunknown[]
options?ToSentenceOptions

Returns ​

SafeBuffer


truncate ​

truncate: (text, options?, block?) => SafeBuffer | null

Defined in: packages/actionview/dist/helpers/index.d.ts:21

Parameters ​

ParameterType
textstring | SafeBuffer | null | undefined
options?TruncateOptions
block?() => unknown

Returns ​

SafeBuffer | null


uncacheableBang ​

uncacheableBang: (this) => void

Defined in: packages/actionview/dist/helpers/index.d.ts:29

Parameters ​

ParameterType
thisCacheHelperHost

Returns ​

void


urlField ​

urlField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:65

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


urlFieldTag ​

urlFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:49

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


urlFor ​

urlFor: (this, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:31

Parameters ​

ParameterType
thisUrlHelperHost
options?unknown

Returns ​

string


urlToAsset ​

urlToAsset: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring | null | undefined
options?AssetPathOptions

Returns ​

string


urlToAudio ​

urlToAudio: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


urlToFont ​

urlToFont: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


urlToImage ​

urlToImage: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


urlToJavascript ​

urlToJavascript: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


urlToStylesheet ​

urlToStylesheet: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


urlToVideo ​

urlToVideo: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


utf8EnforcerTag ​

utf8EnforcerTag: () => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:53

Returns ​

SafeBuffer


videoPath ​

videoPath: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


videoTag ​

videoTag: (this, ...sources) => SafeBuffer

Defined in: packages/actionview/dist/helpers/index.d.ts:27

Parameters ​

ParameterType
thisAssetTagHelperHost
...sourcesunknown[]

Returns ​

SafeBuffer


videoUrl ​

videoUrl: (this, source, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:25

Parameters ​

ParameterType
thisAssetUrlHelperHost
sourcestring
options?AssetPathOptions

Returns ​

string


viewFlow ​

viewFlow: OutputFlow

Defined in: packages/actionview/dist/context.d.ts:6


viewRenderer ​

viewRenderer: Renderer

Defined in: packages/actionview/dist/base.d.ts:65


virtualPath ​

virtualPath: string | null

Defined in: packages/actionview/dist/base.d.ts:73


weekField ​

weekField: (this, objectName, method, options?) => unknown

Defined in: packages/actionview/dist/helpers/form-helper.d.ts:64

Parameters ​

ParameterType
thisFormHelperHost
objectNameunknown
methodunknown
options?Record<string, unknown>

Returns ​

unknown


weekFieldTag ​

weekFieldTag: (this, name, value?, options?) => SafeBuffer

Defined in: packages/actionview/dist/helpers/form-tag-helper.d.ts:48

Parameters ​

ParameterType
thisFormTagHelperHost
nameunknown
value?unknown
options?Record<string, unknown>

Returns ​

SafeBuffer


withOutputBuffer ​

withOutputBuffer: { }

Defined in: packages/actionview/dist/helpers/index.d.ts:12


wordWrap ​

wordWrap: (text, options?) => string

Defined in: packages/actionview/dist/helpers/index.d.ts:21

Parameters ​

ParameterType
textstring | SafeBuffer
options?WordWrapOptions

Returns ​

string


xmlNameEscape ​

xmlNameEscape: (name) => string

Defined in: packages/actionview/dist/base.d.ts:30

Parameters ​

ParameterType
nameunknown

Returns ​

string


yield ​

readonly yield: SafeBuffer

Defined in: packages/actionview/dist/base.d.ts:105

No Rails Equivalent ​

PERMANENT


_compiledMethods ​

static _compiledMethods: Map<string, CompiledMethod>

Defined in: packages/actionview/dist/base.d.ts:56


_isRoutes ​

static _isRoutes: boolean

Defined in: packages/actionview/dist/base.d.ts:50


_routes ​

static _routes: unknown

Defined in: packages/actionview/dist/base.d.ts:49


annotateRenderedViewWithFilenames ​

static annotateRenderedViewWithFilenames: boolean

Defined in: packages/actionview/dist/base.d.ts:47


automaticallyDisableSubmitTag ​

static automaticallyDisableSubmitTag: boolean

Defined in: packages/actionview/dist/base.d.ts:43


debugMissingTranslation ​

static debugMissingTranslation: boolean

Defined in: packages/actionview/dist/base.d.ts:45


defaultFormats ​

static defaultFormats: readonly string[] | null | undefined

Defined in: packages/actionview/dist/base.d.ts:41


defaultFormBuilder ​

static defaultFormBuilder: unknown

Defined in: packages/actionview/dist/base.d.ts:40


fieldErrorProc ​

static fieldErrorProc: (this, htmlTag, instance) => unknown

Defined in: packages/actionview/dist/base.d.ts:33

Parameters ​

ParameterType
thisBase
htmlTagunknown
instanceunknown

Returns ​

unknown


isLogger ​

static isLogger: boolean

Defined in: packages/actionview/dist/base.d.ts:53


isPrefixPartialPathWithControllerNamespace ​

static isPrefixPartialPathWithControllerNamespace: boolean

Defined in: packages/actionview/dist/base.d.ts:38


logger ​

static logger: unknown

Defined in: packages/actionview/dist/base.d.ts:52


prefixPartialPathWithControllerNamespace ​

static prefixPartialPathWithControllerNamespace: boolean

Defined in: packages/actionview/dist/base.d.ts:37


streamingCompletionOnException ​

static streamingCompletionOnException: string

Defined in: packages/actionview/dist/base.d.ts:35


tseTrimMode ​

static tseTrimMode: string

Defined in: packages/actionview/dist/base.d.ts:55

Accessors ​

assigns ​

Get Signature ​

get assigns(): Record<string, unknown>

Defined in: packages/actionview/dist/base.d.ts:81

Returns ​

Record<string, unknown>

Set Signature ​

set assigns(value): void

Defined in: packages/actionview/dist/base.d.ts:82

Parameters ​
ParameterType
valueRecord<string, unknown>
Returns ​

void


config ​

Get Signature ​

get config(): unknown

Defined in: packages/actionview/dist/base.d.ts:83

Returns ​

unknown

Set Signature ​

set config(value): void

Defined in: packages/actionview/dist/base.d.ts:84

Parameters ​
ParameterType
valueunknown
Returns ​

void


formats ​

Get Signature ​

get formats(): DetailValue | undefined

Defined in: packages/actionview/dist/base.d.ts:67

Returns ​

DetailValue | undefined

Set Signature ​

set formats(values): void

Defined in: packages/actionview/dist/base.d.ts:68

Parameters ​
ParameterType
valuesDetailValue | null
Returns ​

void


locale ​

Get Signature ​

get locale(): string | null | undefined

Defined in: packages/actionview/dist/base.d.ts:69

Returns ​

string | null | undefined

Set Signature ​

set locale(value): void

Defined in: packages/actionview/dist/base.d.ts:70

Parameters ​
ParameterType
valuestring | null
Returns ​

void


viewPaths ​

Get Signature ​

get viewPaths(): PathSet | undefined

Defined in: packages/actionview/dist/base.d.ts:71

Returns ​

PathSet | undefined


cacheTemplateLoading ​

Get Signature ​

get static cacheTemplateLoading(): boolean

Defined in: packages/actionview/dist/base.d.ts:57

Returns ​

boolean

Set Signature ​

set static cacheTemplateLoading(value): void

Defined in: packages/actionview/dist/base.d.ts:58

Parameters ​
ParameterType
valueboolean
Returns ​

void

Methods ​

_prepareContext() ​

_prepareContext(): void

Defined in: packages/actionview/dist/context.d.ts:7

Returns ​

void


_run() ​

_run(method, template, locals, buffer, options?, block?): unknown

Defined in: packages/actionview/dist/base.d.ts:90

Parameters ​

ParameterType
methodstring
templateTemplate | null
localsRecord<string, unknown>
bufferOutputBuffer
options?{ addToStack?: boolean; hasStrictLocals?: boolean; }
options.addToStack?boolean
options.hasStrictLocals?boolean
block?(...name) => unknown

Returns ​

unknown

Missing Rails Args ​

_run — PERMANENT


assign() ​

assign(newAssigns): void

Defined in: packages/actionview/dist/base.d.ts:87

Parameters ​

ParameterType
newAssignsRecord<string, unknown>

Returns ​

void


compiledMethodContainer() ​

compiledMethodContainer(): CompiledMethodContainer

Defined in: packages/actionview/dist/base.d.ts:88

Returns ​

CompiledMethodContainer


inRenderingContext() ​

inRenderingContext<T>(options, block): T

Defined in: packages/actionview/dist/base.d.ts:95

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
optionsRendererOptions
block(renderer) => T

Returns ​

T


render() ​

render(options?, locals?, block?): string | Uint8Array<ArrayBufferLike> | SafeBuffer | Promise<string | Uint8Array<ArrayBufferLike> | SafeBuffer | null> | null

Defined in: packages/actionview/dist/base.d.ts:94

Parameters ​

ParameterType
options?string | object | RendererOptions
locals?Record<string, unknown>
block?() => unknown

Returns ​

string | Uint8Array<ArrayBufferLike> | SafeBuffer | Promise<string | Uint8Array<ArrayBufferLike> | SafeBuffer | null> | null


empty() ​

static empty(): Base

Defined in: packages/actionview/dist/base.d.ts:62

Returns ​

Base


isChanged() ​

static isChanged(this, other): boolean

Defined in: packages/actionview/dist/base.d.ts:61

Parameters ​

ParameterType
thisViewContextClass
otherViewContextClass

Returns ​

boolean


isXssSafe() ​

static isXssSafe(): boolean

Defined in: packages/actionview/dist/base.d.ts:59

Returns ​

boolean


withContext() ​

static withContext<T>(this, context, assigns?, controller?): InstanceType<T>

Defined in: packages/actionview/dist/base.d.ts:64

Type Parameters ​

Type Parameter
T extends typeof Base

Parameters ​

ParameterType
thisT
contextLookupContext | null
assigns?Record<string, unknown>
controller?unknown

Returns ​

InstanceType<T>


withEmptyTemplateCache() ​

static withEmptyTemplateCache(): ViewContextClass

Defined in: packages/actionview/dist/base.d.ts:60

Returns ​

ViewContextClass


withViewPaths() ​

static withViewPaths<T>(this, viewPaths, assigns?, controller?): InstanceType<T>

Defined in: packages/actionview/dist/base.d.ts:63

Type Parameters ​

Type Parameter
T extends typeof Base

Parameters ​

ParameterType
thisT
viewPathsPathSet | readonly (string | PathSetResolver)[] | null | undefined
assigns?Record<string, unknown>
controller?unknown

Returns ​

InstanceType<T>