build(docs-infra): improve directive API doc templates (#25768)
Closes #22790 Closes #25530 PR Close #25768
This commit is contained in:

committed by
Alex Rickabaugh

parent
57de9fc41a
commit
f22deb2e2d
@ -21,7 +21,9 @@ module.exports = function matchUpDirectiveDecorators() {
|
||||
if (doc.docType === 'directive') {
|
||||
|
||||
doc.selector = stripQuotes(doc.directiveOptions.selector);
|
||||
doc.selectorArray = doc.selector ? doc.selector.split(',') : [];
|
||||
doc.exportAs = stripQuotes(doc.directiveOptions.exportAs);
|
||||
doc.exportAsArray = doc.exportAs ? doc.exportAs.split(',') : [];
|
||||
|
||||
doc.inputs = getBindingInfo(doc.directiveOptions.inputs, doc.members, 'Input');
|
||||
doc.outputs = getBindingInfo(doc.directiveOptions.outputs, doc.members, 'Output');
|
||||
|
Reference in New Issue
Block a user