hide parameters and properties for hidden constructors (#1397)

This commit is contained in:
Jeff Williams 2017-07-10 20:05:08 -07:00
parent fee5d7f303
commit f17395302f
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ if (data.defaultvalue && (data.defaultvaluetype === 'object' || data.defaultvalu
?>
<?js
var properties = data.properties;
if (properties && properties.length && properties.forEach) {
if (properties && properties.length && properties.forEach && !data.hideconstructor) {
?>
<h5 class="subsection-title">Properties:</h5>

View File

@ -42,7 +42,7 @@ var self = this;
<ul><li><?js= this.linkto(data['this'], data['this']) ?></li></ul>
<?js } ?>
<?js if (data.params && params.length) { ?>
<?js if (data.params && params.length && !data.hideconstructor) { ?>
<h5>Parameters:</h5>
<?js= this.partial('params.tmpl', params) ?>
<?js } ?>