mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
hide parameters and properties for hidden constructors (#1397)
This commit is contained in:
parent
fee5d7f303
commit
f17395302f
@ -11,7 +11,7 @@ if (data.defaultvalue && (data.defaultvaluetype === 'object' || data.defaultvalu
|
|||||||
?>
|
?>
|
||||||
<?js
|
<?js
|
||||||
var properties = data.properties;
|
var properties = data.properties;
|
||||||
if (properties && properties.length && properties.forEach) {
|
if (properties && properties.length && properties.forEach && !data.hideconstructor) {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h5 class="subsection-title">Properties:</h5>
|
<h5 class="subsection-title">Properties:</h5>
|
||||||
|
|||||||
@ -42,7 +42,7 @@ var self = this;
|
|||||||
<ul><li><?js= this.linkto(data['this'], data['this']) ?></li></ul>
|
<ul><li><?js= this.linkto(data['this'], data['this']) ?></li></ul>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js if (data.params && params.length) { ?>
|
<?js if (data.params && params.length && !data.hideconstructor) { ?>
|
||||||
<h5>Parameters:</h5>
|
<h5>Parameters:</h5>
|
||||||
<?js= this.partial('params.tmpl', params) ?>
|
<?js= this.partial('params.tmpl', params) ?>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user