Frontmatter
| id | 3697 |
| title | Neo.findCmp() |
| state | Closed |
| labels | enhancement |
| assignees | [] |
| createdAt | Dec 28, 2022, 1:35 PM |
| updatedAt | Jan 2, 2023, 8:43 PM |
| githubUrl | https://github.com/neomjs/neo/issues/3697 |
| author | Dinkh |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 2, 2023, 8:43 PM |

The developer wants to be able to find all component with certain stats.
@returns []
@examples Neo.findCmp('button'); => string finds items with ntype Neo.findCmp({ntype: button, text: 'foo'}) => object results in item that match all key|values
This should be kind of a shortcut for Neo.manager.Component.find(). We to be able to hand over a ntype as string.