Releases: britzl/monarch
Monarch 2.0
BREAKING CHANGE: If you are using custom screen transitions (ie your own transition functions) you need to make a change to the function. The previous function signature was (node, to, easing, duration, delay, url)
where url
was the URL to where the transition_done
message was supposed to be posted. The new function signature for a transition function is: (node, to, easing, duration, delay, cb)
where cb
is a function that should be invoked when the transition is completed.
FIX: Fixed issues related to screen transitions.
FIX: Code cleanup to reduce code duplication.
FIX: Improved documentation regarding transitions.
Monarch 1.4
FIX: Several bugfixes for specific corner cases.
Monarch 1.3
FIX: monarch.back(data, cb) set the data on the previous screen not the new current screen.
NEW: monarch.is_top(id)
NEW: monarch.get_stack()
NEW: monarch.in_stack(id)
Monarch 1.2
NEW: Message id constants exposed from the Monarch module
NEW: Focus lost/gained contains id of next/previous screen
Monarch 1.1
FIX: Bugfixes for transitions and state under certain circumstances
NEW: Added 'reload' option to show() command.
Monarch 1.0
First public stable release
Monarch 0.9
Added optional callback function when transition is done