JSApi Properties for canNavigateBack/Forward
Bug #1265290 reported by
Martin Pöhlmann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nuvola Apps Runtime (Nuvola Player) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Bug #1212167 requests back/forward navigation buttons integrated into the service website.
As back/forward navigation is not always possible, it may be wise to display these buttons as disabled and not clickable to resemble the state of the rightclick / "Go" menu.
My sample implementation for Google Music tries to determine if back/forward navigation is possible by emulating the navigation stack.
See: https:/
While this method works in most cases, it has to be duplicated in other service integrations to achieve the same behavior.
A better option would be to expose canNavigateBack
Related branches
Changed in nuvola-player: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I definitely don't want to implement canNavigateBack /Forward, but more generic Nuvola. isActionEnabled (name). onMessageReceiv ed("actionChang ed", name, enabled)
It might also be useful to send signal when action's state is changed: Nuvola.