aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/ngdoc.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js
index efd5afd8..6cbf816c 100644
--- a/docs/src/ngdoc.js
+++ b/docs/src/ngdoc.js
@@ -446,6 +446,24 @@ Doc.prototype = {
});
},
+ html_usage_inputType: function(dom){
+ var self = this;
+ dom.h('Usage', function() {
+ dom.code(function() {
+ dom.text('<input type="' + self.shortName + '"');
+ (self.param||[]).forEach(function(param){
+ dom.text('\n ');
+ dom.text(param.optional ? ' [' : ' ');
+ dom.text(param.name);
+ dom.text(BOOLEAN_ATTR[param.name] ? '' : '="..."');
+ dom.text(param.optional ? ']' : '');
+ });
+ dom.text('>');
+ });
+ self.html_usage_parameters(dom);
+ });
+ },
+
html_usage_directiveInfo: function(dom) {
var self = this;
var list = [];