Skip to content

templateSettings

js
_.templateSettings

(对象):默认情况下,lodash 使用的模板分隔符与嵌入式 Ruby (ERB) 以及 ES2015 模板字符串中的分隔符类似。更改以下模板设置以使用替代分隔符。

¥(Object): By default, the template delimiters used by lodash are like those in embedded Ruby (ERB) as well as ES2015 template strings. Change the following template settings to use alternative delimiters.

Lodash v4.17 中文网 - 粤ICP备13048890号