Options
All
  • Public
  • Public/Protected
  • All
Menu

The options that goes to the tokenization algorithm

Hierarchy

Index

Properties

Properties

Optional maxPathLen

maxPathLen: undefined | number

Maximum allowed path. Set this to a safe value to prevent a bad template from blocking the tokenization unnecessarily

Optional tags

tags: [string, string]

The string symbols that mark the opening and closing of a path in the template. It should be an array of exactly two distinct strings otherwise an error is thrown. It defaults to ['{{', '}}']