diff --git a/tools/dgeni/templates/class.template.html b/tools/dgeni/templates/class.template.html index 12984be4f8be..ae2084207e75 100644 --- a/tools/dgeni/templates/class.template.html +++ b/tools/dgeni/templates/class.template.html @@ -1,5 +1,5 @@ -
{$ class.description $}
+{$ class.description $}
{$ propertyList(class.properties) $} diff --git a/tools/dgeni/templates/componentGroup.template.html b/tools/dgeni/templates/componentGroup.template.html index fb65e0822b6e..214a8ac3cb8c 100644 --- a/tools/dgeni/templates/componentGroup.template.html +++ b/tools/dgeni/templates/componentGroup.template.html @@ -32,14 +32,14 @@ {% include 'class.template.html' %} {% endmacro %} -{$ doc.ngModule.name $}
| {$ method.name $} | -|||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {$ method.description $} | +|||||||||||||||||||||||||||||
| {$ method.name $} | +|||
|---|---|---|---|
| {$ method.description $} | |||
| Parameters | -|||
| Parameters | +|||
|
- + | |||
|
+ {$ parameter.name $} {%- if parameter.isOptional -%} - ? + ? {%- endif -%} -{$ parameter.type $} +{$ parameter.type $}
|
- - {$ parameter.description $} + |
+ {$ parameter.description $} |
|
| Returns | +|||
| Returns | -|||
| {$ method.returnType $} | -{$ method.returns.description $} | +
+ {$ method.returnType $}
+ |
+
+ {$ method.returns.description $} + |
| Name | -Description | +
|---|
| Name | +Description | |
|---|---|---|
| + | ||
|
{%- if property.isDirectiveInput -%}
- {%- if property.directiveInputAlias -%}
- @Input({$ property.directiveInputAlias $}) - {% else %} -@Input() - {%- endif -%} +
+ {%- if property.directiveInputAlias -%}
+ @Input({$ property.directiveInputAlias $})
+ {% else %}
+ @Input()
+ {%- endif -%}
+
{%- endif -%}
{%- if property.isDirectiveOutput -%}
- {%- if property.directiveOutputAlias -%}
- @Output({$ property.directiveOutputAlias $}) - {% else %} -@Output() - {%- endif -%} +
+ {%- if property.directiveOutputAlias -%}
+ @Output({$ property.directiveOutputAlias $})
+ {% else %}
+ @Output()
+ {%- endif -%}
+
{%- endif -%}
- {$ property.name $} -
+ {$ property.name $} + +{$ property.type $}
|
- {$ property.description $} | +{$ property.description $} |