Package org.zkoss.bind.annotation
Annotation 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)
- Since:
- 8.5.0
- Author:
- rudyhuang