-
Notifications
You must be signed in to change notification settings - Fork 0
Template Examples
Filip Torphage edited this page Apr 23, 2019
·
1 revision
The following are the template files that comes pre-installed.
$[array].forEach(($[element]) => {
$[]
})
/**
* $[Description]
*$|
* @${EXPORT}|$$|
* @${ACCESS}|$$|
* @${ABSTRACT}|$$|
* @${CONST} ${NAME}|$$|
* @param$| {${PARAMS_TYPES}}|$ ${PARAMS} $[Description]|$$|
* @returns {${RETURN_TYPE}} $[Description]|$$|
* @${RELATION} {${RELATIONNAME}}|$$|
* @memberof ${PARENT}|$
*/
${COMMENT} $[Description]
${COMMENT} $|
${COMMENT} ${PARAMS}${align(PARAMS)} - $[Description].
${COMMENT} |$$|
${COMMENT} Examples
${COMMENT} $<3>(
${COMMENT} ${NAME}(${PARAMS_TEMPLATE})
${COMMENT} # => $[result]
${COMMENT} )$|$
${COMMENT} Returns $[Description].
# Description: $[Type]
#
# Args:
# ${NAME} {${args.type?}}: \${$[args]} ${PARAMS}${PARAMS} ${NAME} h
# ${PARAMS} {${args.type?}}: ${reverse(PARAMS)} ${reverse(NAME)} ${NAME.length} \${NAME} \\${NAME} \\\${NAME}
# ${PARAMS} {${args.type?}}: ${PARAMS} ${NAME} ${reverse(NAME).length} \${NAME} \\${NAME} \\\${NAME}
# ${PARAMS} {${args.type?}}: ${align(PARAMS)} \${NAME} \\${NAME} \\\${NAME}
#
# Examples:$<${NAME.length}>(
# ${NAME}(${PARAMS_TEMPLATE}) ${PARAMS} ${NAME} \${NAME} \\${NAME} \\\${NAME}
# # => $[result]
#)$
# Returns:
# The \${return.type?} $[Return Description]