Skip to content

Documentation


Documentation / @blazetrails/actionpack / AbstractController / Helpers

Variable: Helpers ​

const Helpers: Module<{ _helpers: object; }> & { ClassMethods: Module<Record<never, never>>; } & { allHelpersFromPath: (path) => string[]; helperModulesFromPaths: (this, paths) => object[]; modulesForHelpers: (modulesOrHelperPrefixes) => object[]; }

Defined in: packages/actionpack/lib/abstract-controller/helpers.ts:243

Type Declaration ​

ClassMethods ​

ClassMethods: Module<Record<never, never>>

Type Declaration ​

allHelpersFromPath ​

allHelpersFromPath: (path) => string[]

Parameters ​

ParameterType
pathstring | string[]

Returns ​

string[]

Invented Arm ​

replaceAll — PERMANENT

helperModulesFromPaths ​

helperModulesFromPaths: (this, paths) => object[]

Parameters ​

ParameterType
this{ allHelpersFromPath: string[]; modulesForHelpers: object[]; }
this.allHelpersFromPath
this.modulesForHelpers
pathsstring | string[]

Returns ​

object[]

modulesForHelpers ​

modulesForHelpers: (modulesOrHelperPrefixes) => object[]

Parameters ​

ParameterType
modulesOrHelperPrefixesHelperArgument[]

Returns ​

object[]

Invented Arm ​

if — PERMANENT