mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(dgeni): re-adding instance methods to docgen
This commit is contained in:
@ -4,14 +4,6 @@ module.exports = function collectInputsOutputs() {
|
|||||||
$runBefore: ['rendering-docs'],
|
$runBefore: ['rendering-docs'],
|
||||||
$process: function(docs) {
|
$process: function(docs) {
|
||||||
docs.forEach(function(doc) {
|
docs.forEach(function(doc) {
|
||||||
// if (doc.members && doc.name == "Searchbar"){
|
|
||||||
// console.log(doc.exportSymbol.members.hideCancelButton.valueDeclaration.decorators[0].expression.expression);
|
|
||||||
// doc.members.forEach(function(method){
|
|
||||||
// if (method.name === "load") {
|
|
||||||
// console.log(method);
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
// }
|
|
||||||
|
|
||||||
if (doc.members && doc.members.length) {
|
if (doc.members && doc.members.length) {
|
||||||
var members = [];
|
var members = [];
|
||||||
@ -36,6 +28,8 @@ module.exports = function collectInputsOutputs() {
|
|||||||
}
|
}
|
||||||
// not an input or output, must be a plain member
|
// not an input or output, must be a plain member
|
||||||
members.push(doc.members[i]);
|
members.push(doc.members[i]);
|
||||||
|
} else {
|
||||||
|
members.push(doc.members[i]);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user