@Documented
@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface HistoryPopState
Marker annotation to identify a HistoryPopState method in View Model.
Only one (could be zero) HistoryPopState method is allowed in a particular class.
A HistoryPopState method could also use with ContextParam
to get the HistoryPopStateEvent
.
This annotation is for history state in ZK MVVM.
Example:
@HistoryPopState
public void method(@ContextParam(ContextType.TRIGGER_EVENT) HistoryPopStateEvent event)
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.