English 中文(简体)
Lodash - Properties
  • 时间:2024-12-22

Lodash - Properties


Previous Page Next Page  

This chapter discusses lodash properties in detail.

Sr.No. Method & Syntax
1

_.VERSION − (string): The semantic version number.

2

_.templateSettings − (Object): By default, the template depmiters used by lodash are pke those in embedded Ruby (ERB) as well as ES2015 template strings. Change the following template settings to use alternative depmiters.

3

_.templateSettings.escape − (RegExp): Used to detect data property values to be HTML-escaped.

4

_.templateSettings.evaluate − (RegExp): Used to detect code to be evaluated.

5

_.templateSettings.imports − (Object): Used to import variables into the compiled template.

6

_.templateSettings.interpolate − (RegExp): Used to detect data property values to inject.

7

_.templateSettings.variable − (string): Used to reference the data object in the template text.

Advertisements