Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HelperOptions

example
var helperOptions = {
    path: './implementations_all/helpers',
    addModuleExport: true,
    helpers: {
        calendarHelper: {exclude: false}
    }
};

Hierarchy

Index

Properties

Optional addModuleExport

addModuleExport: boolean | string

for automatically converting old-style implementations that are no CommonJS or AMD modules: if true, explicitly exports the implementation resource, i.e. adds something like

module.exports. = ;

to the implementation source/module.

If string, the specified string will be used for the export.

Optional exclude

exclude: boolean

if true, the corresponding implementation will be excluded (when parsing path)

Optional helpers

helpers: boolean | {}

Optional path

path: string

file path for (recursively) searching helper implementation files: path/.../<controller ID>Helper.js

Generated using TypeDoc