Module Handlebars

Index

Variables

Classes

Functions

Variables

logger: any

Functions

Exception(message: string)

Parameters

  • message: string

K(): any

Returns

any

compile(string: string): Function

Parameters

  • string: string

Returns

Function

compile(environment: any, options?: any, context?: any, asObject?: any): any

Parameters

  • environment: any
  • options?: any optional
  • context?: any optional
  • asObject?: any optional

Returns

any

createFrame(object: any): any

Parameters

  • object: any

Returns

any

get(root: any, path: string, options?: {}): any

Parameters

  • root: any
  • path: string
  • options?: {} optional

Returns

any

helper(name: string, func: Function, dependentKeys: string)

Parameters

  • name: string
  • func: Function
  • dependentKeys: string

helper(name: string, view: View, dependentKeys: string)

Parameters

  • name: string
  • view: View
  • dependentKeys: string

log(level: any, str: any)

Parameters

  • level: any
  • str: any

parse(string: string): any

Parameters

  • string: string

Returns

any

precompile(string: string)

Parameters

  • string: string

print(ast: any): any

Parameters

  • ast: any

Returns

any

registerBoundHelper(name: string, func: Function, dependentKeys: string)

Parameters

  • name: string
  • func: Function
  • dependentKeys: string

registerHelper(name: string, fn: Function, inverse?: boolean)

Parameters

  • name: string
  • fn: Function
  • inverse?: boolean optional

registerPartial(name: string, str: any)

Parameters

  • name: string
  • str: any