• typedef

helperOptions can.Mustache.helperOptions

 

The options argument pass to a helper function.

Type Definition: {Object}

  • fn {function(context)}

    Provided if a section helper is called. Call fn to render the BLOCK with the specified context.

  • inverse {function(context)}

    Provided if a section helper is called with {{else}}. Call inverse to render the INVERSE with the specified context.

  • hash {Object<String,* | String | Number>}