public class LocationHistoryHandler extends Object
LocationController
to initiate location changes
accordingly, also listens for location change events on the EventBus and updates the browser history to match.Constructor and Description |
---|
LocationHistoryHandler(LocationHistoryMapper mapper,
Shell shell) |
Modifier and Type | Method and Description |
---|---|
void |
handleCurrentFragment()
Handle the current history fragment.
|
info.magnolia.event.HandlerRegistration |
register(LocationController locationController,
info.magnolia.event.EventBus eventBus,
Location defaultLocation)
Initialize this location history handler.
|
public LocationHistoryHandler(LocationHistoryMapper mapper, Shell shell)
public info.magnolia.event.HandlerRegistration register(LocationController locationController, info.magnolia.event.EventBus eventBus, Location defaultLocation)
public void handleCurrentFragment()
Copyright © 2018 Magnolia International Ltd.. All rights reserved.