LearnNewsExamplesServices
Frontmatter
id160
titlecomponent.Button: route config
stateClosed
labels
enhancement
assignees[]
createdAtDec 6, 2019, 11:04 PM
updatedAtMar 17, 2020, 9:11 PM
githubUrlhttps://github.com/neomjs/neo/issues/160
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 17, 2020, 9:11 PM

component.Button: route config

tobiu
tobiu commented on Dec 6, 2019, 11:04 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.

tobiu added the enhancement label on Dec 6, 2019, 11:04 PM
tobiu referenced in commit 445f9b3 - "#160 route_" on Mar 17, 2020, 8:51 PM
tobiu referenced in commit 300ca91 - "#160 component.Button: afterSetRoute()" on Mar 17, 2020, 8:59 PM
tobiu referenced in commit 97d57ff - "#160 component.Button: changeRoute()" on Mar 17, 2020, 9:10 PM
tobiu
tobiu Mar 17, 2020, 9:11 PM

done.

tobiu closed this issue on Mar 17, 2020, 9:11 PM