mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
* [ADF-3514] Added transclusion sections and guide page * [ADF-3514] Updated tables of contents where needed * [ADF-3514] Updated index files
30 lines
1020 B
Plaintext
30 lines
1020 B
Plaintext
summary: >-
|
|
<%- (typeof child.comment !== "undefined") ? (child.comment.shortText || "").replace(/[\n\r]+/g, " ").trim() : "" %>
|
|
tags:
|
|
<%_ if ((typeof child.comment !== "undefined") && (typeof child.comment.tags !== "undefined")) { -%>
|
|
<% child.comment.tags.forEach(tag => { -%>
|
|
- name: <%= tag.tag %>
|
|
text: >-
|
|
<%- (tag.text || "").replace(/[\n\r]+/g, " ").trim() %>
|
|
<%_ }) -%>
|
|
<% } -%>
|
|
decorators:
|
|
<%_ if (typeof child.decorators !== "undefined") { -%>
|
|
<% child.decorators.forEach(dec => { -%>
|
|
- name: <%= dec.name %>
|
|
arguments:
|
|
<%_if (typeof dec.arguments !== "undefined") { -%>
|
|
<% Object.keys(dec.arguments).forEach(argName => { -%>
|
|
- id: <%= argName %>
|
|
value: <%- dec.arguments[argName] %>
|
|
<% }) %>
|
|
<% } -%>
|
|
<%_ }) -%>
|
|
<% } -%>
|
|
syntax:
|
|
return:
|
|
type: >-
|
|
<%- include("type", {type: child.type}).trim() %>
|
|
defaultValue: >-
|
|
<%- (child.defaultValue || "").length < 20 ? child.defaultValue : "" %>
|