Frontmatter
| id | 160 |
| title | component.Button: route config |
| state | Closed |
| labels | enhancement |
| assignees | [] |
| createdAt | Dec 6, 2019, 11:04 PM |
| updatedAt | Mar 17, 2020, 9:11 PM |
| githubUrl | https://github.com/neomjs/neo/issues/160 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Mar 17, 2020, 9:11 PM |

Add an optional config for buttons called route.
In case the config is set, a click listener needs to get added which will call
Neo.Main.setRoute().Only helpful for static routes, unless we add a @ config syntax.