mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3265] Updated index script to remove brief desc links (#3520)
This commit is contained in:
committed by
Eugenio Romano
parent
5a3ce3d299
commit
a746a3e3d4
@@ -75,6 +75,20 @@ var MDNav = /** @class */ (function () {
|
||||
return h.type === "html" && test(h);
|
||||
}, index);
|
||||
};
|
||||
MDNav.prototype.link = function (test, index) {
|
||||
if (test === void 0) { test = function () { return true; }; }
|
||||
if (index === void 0) { index = 0; }
|
||||
return this.find(function (h) {
|
||||
return h.type === "link" && test(h);
|
||||
}, index);
|
||||
};
|
||||
MDNav.prototype.links = function (test, index) {
|
||||
if (test === void 0) { test = function () { return true; }; }
|
||||
if (index === void 0) { index = 0; }
|
||||
return this.findAll(function (h) {
|
||||
return h.type === "link" && test(h);
|
||||
}, index);
|
||||
};
|
||||
MDNav.prototype.list = function (test, index) {
|
||||
if (test === void 0) { test = function () { return true; }; }
|
||||
if (index === void 0) { index = 0; }
|
||||
|
Reference in New Issue
Block a user