We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 145660b commit 84a58f4Copy full SHA for 84a58f4
docs/site/components/docs/docs.js
@@ -159,7 +159,6 @@ angular
159
formatHtml(detectLinks(detectModules(tag.description.replace(/^- /, '')))));
160
tag.types = $sce.trustAsHtml(tag.types.reduceRight(
161
reduceModules, []).join(', '));
162
- tag.optional = tag.types.toString().indexOf('=') > -1;
163
tag.subparam = tag.name.indexOf('.') > -1;
164
return tag;
165
}),
docs/site/css/main.css
@@ -747,10 +747,11 @@ ul {
747
font-style: italic;
748
}
749
750
-.param-optional .param-description:before {
751
- content: "optional. ";
+.param-optional .param-types:after {
+ content: " (optional)";
752
color: #aaa;
753
754
+ font-size: 85%;
755
756
757
.method-heading {
0 commit comments