HTML Template Language Specification
HTML Template Language Specification
HTML Template Language Specification
Version: 1.4
Authors: Radu Cotescu, Marius Dănilă, Peeter Piegaze, Senol Tas, Gabriel Walt, Honwai Wong
License: Apache License 2.0
Status: Final release
Release: 18 June 2018
Contents
#1. Expression language, syntax and semantics
#1.1. Syntax
1.1.1. Grammar
The grammar of the HTL Expression Language is pretty simple and can be summarised to the following definitions:
expression = '${' , [exprNode] , [ , '@' , optionList] , '}' ;
optionList = option {',' , option} ;
option = id [ , '=' , optionValues] ;
optionValues = exprNode
| '[' , valueList , ']' ;
valueList = exprNode {',' exprNode} ;
exprNode = orBinaryOp , '?' , orBinaryOp , ws , ':' , ws , orBinaryOp
| orBinaryOp ;
orBinaryOp = andBinaryOp {, '||', andBinaryOp};
andBinaryOp = inBinaryOp {, '&&', inBinaryOp};
inBinaryOp = comparisonOp [, 'in', comparisonOp];
comparisonOp = factor [, comparisonOperator, factor];
comparisonOperator = '<'
| '<='
| '=='
| '>='
| '>'
| '!=' ;
factor = term
| '!' , term ;
term = propertyAccess
| '(' , exprNode , ')'
| '[', valueList, ']' ;
/* Note the 'comma rule' means zero or more whitespace characters. Used to indicate optional whitespace around terminals above */
, = {ws} ;
ws = ' '
| '\t'
| '\r'
| '\n'
| '\u000B'
| '\u00A0';
/* Note that unlike terminals above, the field access character '.' cannot have optional whitespace around it */
propertyAccess = atom {'.' id}
| atom {'[' , exprNode , ']'};
atom = string
| id
| int
| float
| bool ;
bool = 'true'
| 'false' ;
id = ('a'..'z'|'A'..'Z'|'_') {'a'..'z'|'A'..'Z'|'0'..'9'|'_'|':'} ;
int = ['-']('1'..'9'){'0'..'9'}
| '0' ;
float = ['-']('1'..'9'){'0'..'9'} '.' {'0'..'9'} [exponent]
| ['-']'0.' ('0'..'9') {'0'..'9'} [exponent]
| ['-']('1'..'9'){'0'..'9'} exponent ;
/* An HTL comment can contain any character sequence other than '*/-->' */
comment = '<!--/*' {-('*/-->')} '*/-->' ;
/* A string can be delimited by either double or single quotes. Within these delimiters it may contain either escape sequences or any characters other than backslash and whichever quote was used for delimiting. */
string = '"' {escSeq | -('\\' | '"')} '"'
| '\'' {escSeq | -('\\'|'\'')} '\'' ;
exponent = ('e'|'E') ['+'|'-'] ('0'..'9'){'0'..'9'} ;
escSeq = '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\')
| unicodeEsc;
unicodeEsc = '\\' 'u' hexDigit hexDigit hexDigit hexDigit ;
hexDigit = ('0'..'9'|'a'..'f'|'A'..'F') ;
The above grammar is adapted from the source ANTLR files. It uses the following conventions:
foo Alphabetic words and comma (',') are rule names.
/**/ Slash-star and star-slash delimit comments.
Whitespace within a rule production indicates direct concatenation.
= Equals sign indicates the rule production.
; Semicolon indicates end of production.
' ' Single quotes delimit terminals.
| Pipe indicates OR.
[] Square brackets indicate an option (zero or one times).
{} Curly brackets indicate repetition (zero or more times).
- Minus sign indicates 'any character or character sequence other than the following'.
.. Ellipses indicates a range between two single-character terminals, by collation order.
Like in JavaScript, strings quotes can be escaped by prefixing a backslash to the quote (\') or double-quote (\").
Single character escape sequences: \t \b \n \r \f \' \" \\
Unicode escape sequences: \u followed by 4 hexadecimal digits (e.g.: \u0022 for ", \u0027 for ', \u003c for <, or \u003e for >)
Like in JSP (see section "1.2.2 Literal-expression" from the JSP 2.1 Expression Language Specification), to escape an expression (the ${), it can be prefixed it with a backslash (\${).
1.1.2. Expressions
Here are some examples of HTL expressions:
1.1.3. Context-Sensitive
Expressions can be used in following contexts for outputting identifiers into the markup with automatic context-aware XSS protection.
HTL expressions used to output values for the following HTML attributes that provide URIs or URLs will automatically be processed with the
uri display context, unless an explicit context is provided:
action(<form>)cite(<blockquote>,<del>,<ins>,<q>tags)data(<object>)formaction(<button>,<input>)href(<a>,<area>,<link>,<base>)manifest(<html>)poster(<video>)src(<audio>,<embed>,<iframe>,<img>,<input>,<script>,<source>,<track>,<video>)
For style and script contexts, it is mandatory to set a context. If the context isn't set, the expression shouldn't output anything. Some examples:
1.1.4. Operators
1.1.4.1. Logical Operators
Only the following logical operators are currently supported, all other operations have to be prepared through the Use-API:
The numbers written in the comments above correspond to the precedence of the operators.
The logical && and || operators work like the JavaScript || and && operators: they return the value of one of the specified operands, so if these operators are used with non-Boolean values, they may return a non-Boolean value. This offers a handy way to use the || operator to specify default string values:
1.1.4.2. Comparison Operators
HTL also provides a set of strict comparison operators which can be used for comparing values of operands of the same type; no type conversion will be applied to any of the operands. The equality operators (==, !=) work similarly to the JavaScript === and the JavaScript !== identity operators.
1.1.4.3. Relational Operators
The in relational operator can be used to:
-
Check if a
Stringis contained by anotherString(case-sensitive): -
Check if an
Arrayor aListcontains an object: -
Check if an object has a property or a
Maphas a key:Assuming the following use object (more details in the Use-API section) provided by a
logic.jsfile:
1.1.5. Casting
1.1.5.1. Boolean
These expressions evaluate to false:
false0(zero)''or""(empty string)[](empty iterable)
These evaluate to true:
"false"(non-empty string)[0](non-empty iterable)
1.1.5.2. String
This is how non-string types are converted when being output:
1.1.6. Options
Expression options can act on the expression and modify it.
1.1.7 Parametric Expressions
Expressions with only options can be used for passing parameters to block elements.
1.1.8. Whitespace
Whitespace characters (spaces and tabs) are allowed between any part of an expression:
1.1.9. Comments
HTL comments combine HTML and JavaScript multi-line comments: <!--/* */-->
HTL comments are not evaluated and are removed from the result.
HTL expressions inside HTML comments are evaluated, but not block statements:
#1.2. Available Expression Options
1.2.1. Display Context
To protect against cross-site scripting (XSS) vulnerabilities, HTL automatically recognises the context within which an output string is to be displayed within the final HTML output, and escapes that string appropriately.
It is also possible to override the automatic display context handling with the context option.
The following table lists the available contexts:
Note that context='elementName' allows only the following element names:
If you want to use HTL expressions within HTML comments you might need to adjust the context depending on what you want to output, as the automatically implied context will be comment:
1.2.2. Format
This option can be used to format Strings, Dates and Numbers. A formatting pattern string must be supplied in the expression and the format option will contain the value(s) to be used. Type of formatting will be decided based on:
- the
typeoption, if present (accepted values arestring,dateandnumber) - placeholders (eg:
{0}) in the pattern, triggers string formatting - type of
formatoption object, when the type is aDateor aNumber - default, fallback to string formatting
1.2.2.1. Strings
String formatting can be combined with the i18n option so that placeholders are replaced after the string has been run through the dictionary.
Examples
will generate the following output
assuming that
properties.assetName = 'Night Sky'
properties.current = 3
properties.total = 5
formatter 'Asset {0} out of {1}' will be translated to 'Bild {0} von {1}' for the 'de' locale by i18n
1.2.2.2. Dates
Date formatting supports timezones and localisation. In case internationalisation is also specified (i18n), it will be applied to the formatting pattern and the locale will be passed forward to formatting.
The formatting pattern supports, at minimum, the following letters:
y- Year. Variants:yy,yyyyM- Month in year. Variants:MM,MMM,MMMMw- Week in year. Variants:wwD- Day in year. Variants:DD,DDDd- Day in month. Variants:ddE- Day name in week. Variants:EEEEa- Am/pm markerH- Hour in day (0-23). Variants:HHh- Hour in am/pm. Variants:hhm- Minute in hour. Variants:mms- Second in minute. Variants:ssS- Millisecond. Variants:SSSz- General time zoneZ- RFC 822 time zoneX- ISO 8601 time zone. Variants:XX,XXX
All other characters from 'A' to 'Z' and from 'a' to 'z' are reserved for future possible use; if needed, they can be escaped using single quotes. Single quotes are escaped as two in a row. Other characters are not interpreted.
Examples
will generate the following output for the date 1918-12-01 00:00:00Z
1918-12-01 00:00:00.000Z
1918-12-01 02:00:00.000+02:00
1918-12-01 02:00:00.000(GMT+02:00)
1918-12-01 02:00:00.000+0200
01 December '18 12:00 AM; day in year: 335; week in year: 49
Sonntag, 1 Dez 1918
Sunday, Dec 1, 1918 <!--/* assuming the formatter 'EEEE, d MMM y' will be translated to 'EEEE, MMM d, y' for the 'en_US' locale by i18n */-->
1.2.2.3. Numbers
Number formatting supports localisation. In case internationalisation is also specified (i18n), it will be applied to the formatting pattern and the locale will be passed forward to formatting.
The formatting pattern supports both a positive and negative pattern, separated by semicolon. Each sub-pattern can have a prefix, a numeric part and a suffix. The negative sub-pattern can only change the prefix or/and suffix. The following characters are supported, at minimum:
0- digit, shows as 0 if absent#- digit, does not show if absent.- decimal separator-- minus sign,- grouping separatorE- separator between mantissa and exponent;- sub-pattern boundary%- multiply by 100 and show as percentage
Characters can be escaped in prefix or suffix using single quotes. Single quotes are escaped as two in a row.
Examples
will generate the following output if obj.number evaluates to -3.14:
1,000.00
-3.14
(3.14)
-.314E01
-314%
CHF 1'000.14 <!--/* assuming the formatter 'curr #,###.##' will be translated to 'CHF #,###.##' for the 'de_CH' locale by i18n */-->
1.2.3. i18n
This option internationalises strings.
When this option is used, two more options take a special meaning:
locale: When set, it overrides the language from the source. For e.g.:en_USorfr_CHhint: Allows to provide some information about the context for the translators.
1.2.4. Array Join
The join option allows to control the output of an array object by specifying the separator string.
Applying the join option to simple strings should just output the string:
1.2.5. URI Manipulation
URI manipulation can be performed by adding any of the following options to an expression:
-
scheme- allows adding or removing the scheme part for a URI -
domain- allows adding or replacing the host and port (domain) part for a URI -
path- modifies the path that identifies a resource -
prependPath- prepends its content to the path that identifies a resource -
appendPath- appends its content to the path that identifies a resource -
selectors- modifies or removes the selectors from a URI; the selectors are the URI segments between the part that identifies a resource (the resource's path) and the extension used for representing the resource -
addSelectors- adds the provided selectors (selectors string or selectors array) to the URI -
removeSelectors- removes the provided selectors (selectors string or selectors array) from the URI -
extension- adds, modifies or removes the extension from a URI -
suffix- adds, modifies or removes the suffix part from a URI; the suffix is the URI segment between the extension and the query segment -
prependSuffix- prepends its content to the existing suffix -
appendSuffix- appends its content to the existing suffix -
query- adds, replaces or removes the query segment of a URI, depending on the contents of its map value -
addQuery- adds or extends the query segment of a URI with the contents of its map value -
removeQuery- removes the identified parameters from an existing query segment of a URI; its value can be a string or a string array -
fragment- adds, modifies or replaces the fragment segment of a URI
#2. Block Statements
#2.1. Syntax
HTL block plugins are defined by data-sly-* attributes set on HTML elements. Elements can have a closing tag or be self-closing. Attributes can have values (which can be static strings or expressions), or simply be boolean attributes (without a value). The attribute values can be single-quoted, double-quoted or unquoted.
All evaluated data-sly-* attributes are removed from the generated markup.
2.1.1. Identifiers
A block statement can also be followed by an identifier:
The identifier can be used by the block statement in various ways, here are some examples:
Top top-level identifiers are case-insensitive (because they can be set through HTML attributes which are case-insensitive), but all their properties are case-sensitive.
#2.2. Available Block Statements
2.2.1. Use
data-sly-use:
-
Exposes logic to the template.
-
Element: always shown.
-
Attribute value: required; evaluates to
String; the object to instantiate. -
Attribute identifier: optional; customised identifier name to access the instantiated logic; if an identifier is not provided, the instantiated logic will be available under the
useBeanidentifier name. -
Scope: The identifier set by the
data-sly-useblock element is global to the script and can be used anywhere after its declaration:
Initialises the specified logic and makes it available to the current template:
The element on which a data-sly-use has been set as well as its content is rendered (simply removing the data-sly-use attribute from the output):
Parameters can be passed to the Use-API by using expression options:
More informations about how the Use-API is working can be found in the Use-API section.
The use statement can also be used to load external templates. See the Template & Call section for this usage.
2.2.2. Text
data-sly-text:
- Sets the content for the current element.
- Element: always shown.
- Content of element: replaced with evaluated result.
- Attribute value: required; evaluates to
String; the element content. - Attribute identifier: none.
Content can be written either simply by writing an expression, or by specifying a data-sly-text attribute. This allows to annotate a designer's HTML without modifying the mock content:
The content of the data-sly-text attribute is automatically XSS-protected with the text context, unless stated otherwise:
Falsy variables are not treated specially, they are simply cast to strings:
2.2.3. Attribute
data-sly-attribute:
- Sets an attribute or a group of attributes on the current element.
- Element: always shown.
- Content of element: always shown.
- Attribute value: optional;
Stringfor setting attribute content, orBooleanfor setting boolean attributes, orObjectfor setting multiple attributes; removes the attribute if the value is omitted. - Attribute identifier: optional; the attribute name; must be omitted only if attribute value is an
Object.
Attributes can be written either simply by writing an expression, or by specifying a data-sly-attribute.* attribute. This allows to annotate a designer's HTML without modifying the mock content:
The data-sly-attribute block element (without specifying an attribute name) allows to inject at once several attributes that have been prepared in a map object that contains key-value pairs:
The attribute name and content are automatically XSS-protected accordingly, unless stated otherwise:
Event handler attributes (on*) and the style attribute cannot be generated with data-sly-attribute due to the fact that none of the available display contexts can fully protect against XSS attacks given the range of values that these attributes can contain.
2.2.3.1. Detailed Examples
For all examples below, consider that following object is available in the context:
Attributes are processed left-to-right:
Empty string values lead to the removal of the attribute:
Still, empty attributes are left as they are if no data-sly-attribute applies to them
Boolean values allow to control the display of boolean attributes:
Arrays are cast to strings:
Numbers are cast to strings (i.e. zero doesn't remove the attribute):
2.2.4. Element
data-sly-element:
- Replaces the element's tag name.
- Element: always shown.
- Content of element: always shown.
- Attribute value: required;
String; the element's tag name. - Attribute identifier: none.
Changes the element, mostly useful for setting element tags like h1..h6, th, td, ol, ul.
The element name is automatically XSS-protected with the elementName context, which by the way doesn't allow elements like <script>, <style>, <form>, or <input> (see the Display Context section for the exact list).
2.2.5. Test
data-sly-test:
- Keeps or removes the element depending on the attribute value.
- Element: shown if test evaluates to
true. - Content of element: shown if test evaluates to
true. - Attribute value: optional; evaluated as
Boolean(but not type-casted toBooleanwhen exposed in a variable); evaluates tofalseif the value is omitted. - Attribute identifier: optional; identifier name to access the result of the test.
- Scope: The identifier set by the
data-sly-testblock element is global to the script and can be used anywhere after its declaration:
Removes the whole element from the markup if the expression evaluates to false.
Note that the identifier contains the value of the condition as it was (not casting it to a Boolean value):
2.2.6. List
data-sly-list:
- Iterates over the content of each item in the attribute value, allowing to control the iteration through the following options:
begin- iteration begins at the item located at the specified index; first item of the collection has index 0step- iteration will only process every step items of the collection, starting with the first oneend- iteration ends at the item located at the specified index (inclusive)
- Element: shown only if the number of items from the attribute value is greater than 0, or if the attribute value is a string or number;
when the
beginvalue is used the element will be shown only if thebeginvalue is smaller than the collection's size. - Content of element: repeated as many times as there are items in the attribute value.
- Attribute value: optional; the item to iterate over; if omitted the content will not be shown.
- Attribute identifier: optional; customised identifier name to access the item within the list element; if an identifier is not provided, the block element will implicitly make available an
itemidentifier to access the element of the current iteration. - Scope: The identifier set by the
data-sly-listblock element is available only in the element's content scope. The identifier will override other identifiers with the same name available in the scope, however their values will be restored once outside of the element's scope.
Repeats the content of the element for each item of the provided object (which can be an array, or any iterable object).
An additional itemList (respectively <variable>List in case a custom identifier/variable was defined using data-sly-list.<variable>) identifier is also available within the scope, with the following members:
index: zero-based counter (0..length-1);count: one-based counter (1..length);first:truefor the first element being iterated;middle:trueif element being iterated is neither the first nor the last;last:truefor the last element being iterated;odd:trueifcountis odd;even:trueifcountis even.
When iterating over Map objects, the item variable contains the key of each map item:
2.2.7. Repeat
data-sly-repeat:
- Iterates over the content of each item in the attribute value and displays the containing element as many times as items in the attribute
value, allowing to control the iteration through the following options:
begin- iteration begins at the item located at the specified index; first item of the collection has index 0step- iteration will only process every step items of the collection, starting with the first oneend- iteration ends at the item located at the specified index (inclusive)
- Element: shown only if the number of items from the attribute value is greater than 0, or if the attribute value is a string or number.
- Content of element: repeated as many times as there are items in the attribute value.
- Attribute value: optional; the item to iterate over; if omitted the containing element and its content will not be shown.
- Attribute identifier: optional; customised identifier name to access the item within the repeat element; if an identifier is not provided, the block element will implicitly make available an
itemidentifier to access the element of the current iteration. - Scope: The identifier set by the
data-sly-repeatblock element is available only in the element's scope. The identifier will override other identifiers with the same name available in the scope, however their values will be restored once outside of the element's scope.
Repeats the content of the element for each item of the provided object (which can be an array, or any iterable object).
An additional itemList (respectively <variable>List in case a custom identifier/variable was defined using data-sly-repeat.<variable>) identifier is also available within the scope, with the following members:
index: zero-based counter (0..length-1);count: one-based counter (1..length);first:truefor the first element being iterated;middle:trueif element being iterated is neither the first nor the last;last:truefor the last element being iterated;odd:trueifcountis odd;even:trueifcountis even.
When iterating over Map objects, the item variable contains the key of each map item:
2.2.8. Include
data-sly-include:
- Includes the output of a rendering script run with the current context.
- Element: always shown.
- Content of element: replaced with the content of the included script.
- Attribute value: required; the file to include.
- Attribute identifier: none.
Includes the output of a rendering script run with the current request context, passing back control to the current HTL script.
Note: this is comparable to the JSP
<%@ include file="" %>.
With an expression more path manipulation options can be specified. Paths are resolved relative to the current rendering context:
-
appendPath- appends its content to the passed path -
prependPath- prepends its content to the passed path
The element on which a data-sly-include has been set is ignored and not displayed:
The scope of the data-sly-include statement isn't passed to the template of the included resource.
2.2.9. Resource
data-sly-resource:
- Includes a rendered resource.
- Element: always shown.
- Content of element: replaced with the content of the resource.
- Attribute value: required; the path to include.
- Attribute identifier: none.
Includes a rendered resource from the same server, using an absolute or relative path. An implementation should create a new request context when retrieving the output.
Note: this is comparable to a
<jsp:include page="" />.
With an expression more options can be specified:
-
appendPath- appends its content to the passed path -
prependPath- prepends its content to the passed path -
selectors- replaces all selectors from the original request with the selectors passed in a selector string or a selector array before including the passed path: -
addSelectors- adds the selectors from the passed selector string or selector array to the original request before including the passed path: -
removeSelectors- removes the selectors found in the passed selector string or selector array from the original request before including the passed path; when the option doesn't have a value, all the selectors will be removed from the original request: -
resourceType- forces the rendering of the passed path with a script mapped to the overridden resource type:
The scope of the data-sly-resource statement isn't passed to the template of the included resource.
2.2.10 Template & Call
Template blocks can be used like function calls: in their declaration they can get parameters, which can then be passed when calling them. They also allow recursion.
2.2.10.1 Template
data-sly-template:
- Declares an HTML block, naming it with an identifier and defining the parameters it can get.
- Element: never shown.
- Content of element: shown upon calling the template with
data-sly-call. - Attribute value: optional; an expression with only options, defining the parameters it can get.
- Attribute identifier: required; the template identifier to declare.
- Scope: The identifier set by the
data-sly-templateblock element is global and available no matter if it's accessed before or after the template's definition. An identically named identifier created with the help of another block element can override the value of the identifier set bydata-sly-template.
2.2.10.2. Call
data-sly-call:
- Calls a declared HTML block, passing parameters to it.
- Element: always shown.
- Content of element: replaced with the content of the called
data-sly-templateelement. - Attribute value: required; an expression defining the template identifier and the parameters to pass.
- Attribute identifier: none.
2.2.10.3. Examples
Static template that has no parameters:
The scope of the data-sly-call statement isn't inherited by the data-sly-template block. To pass variables, they must be passed as parameters:
When templates are located in a separate file, they can be loaded with data-sly-use:
When some parameters are missing in a template call, that parameter would be initialised to an empty string within the template.
2.2.11. Unwrap
data-sly-unwrap:
- Unwraps the element.
- Element: shown if expression evaluates to
false. - Content of element: always shown.
- Attribute value: optional; an expression evaluated as
Boolean; defaults totrueif the value is omitted. - Attribute identifier: optional; identifier name to access the result of the test.
- Scope: The identifier set by the
data-sly-unwrapblock element is global to the script and can be used anywhere after its declaration.
data-sly-unwrap can be used to hide the element itself, only showing its content:
2.2.12. Set
data-sly-set:
- Defines a new identifier with a pre-defined value.
- Element: always shown.
- Content of element: always shown.
- Attribute value: optional; the value to store in the provided identifier.
- Attribute identifier: required; identifier name to access the stored value.
- Scope: The identifier set by the
data-sly-setblock element is global to the script and can be used anywhere after its declaration.
#2.3. Block Statements Priority
When used on the same element, the following priority list defines how block statements are evaluated:
data-sly-templatedata-sly-set,data-sly-test,data-sly-usedata-sly-calldata-sly-textdata-sly-element,data-sly-include,data-sly-resourcedata-sly-unwrapdata-sly-list,data-sly-repeatdata-sly-attribute
When two block statements have the same priority, their evaluation order is from left to right.
#3. Special HTML tags
#3.1. <sly>
The <sly> HTML tag can be used to remove the current element, allowing only its children to be displayed. Its functionality is similar to the data-sly-unwrap block element:
Although not a valid HTML 5 tag, the <sly> tag can be displayed in the final output using data-sly-unwrap:
#4. Use-API
HTL encourages separation of concerns by not allowing business logic to mix with markup. However, business logic can be implemented through the Use-API.
#4.1. Java Use-API
The Java Use-API can be used for loading business logic objects to be used in HTL scripts through data-sly-use. A Java Use-API object can be a simple POJO, instantiated by a particular implementation through the POJO's default constructor.
The Use-API POJOs can also expose a public method, called init, with the following signature:
The bindings map can contain objects that provide context to the currently executed HTL script that the Use-API object can use for its processing.
#4.2. JavaScript Use-API
The JavaScript Use API has been deprecated for use with AEM as a Cloud Service. Please use the Java Use API instead.
Please see the AEM as a Cloud Service release notes for more information on deprecated and removed features.
Use objects can also be defined with JavaScript, using the following conventions:
#4.3. Object Resolution and their Properties or Methods
HTL implementations have to provide the appropriate support for the Use-API depending on the platform on which they run. However, property or method resolution on a target object must obey the following rules:
-
expression.identifieris equivalent toexpression["identifier"]and toexpression['identifier'] -
the
identifierresolution uses the following algorithm:-
try to resolve the
identifieras a publicly accessible field of the object returned by theexpression; if found, return; -
try to resolve the
identifieras a publicly accessible method without formal parameters of the object returned by theexpression:- try to find a method whose name is
identifier; if found, call method and return; - try to find a getter called
getIdentifier(notice thecamelCase); if found, call method and return; - try to find an
isIdentifiermethod (notice thecamelCase); if found, call method and return; - return
null
- try to find a method whose name is
-
Quick Actions
Details
- Type
- Specification
- Author
- adobe
- Slug
- adobe/html-template-language-specification
