Package org.jboss.elemento.router
Interface Page
public interface Page
A page interface represents a collection of HTML elements. Implementations should be cheap to create.
Pages can be annotated with Route
and registered with the PlaceManager
using
PlaceManager.register(Place, Supplier)
and PlaceManager.register(Places)
.
-
Method Details
-
elements
-
attach
default void attach()Called when the elements of this page have been attached. The default implementation does nothing. -
detach
default void detach()Called when the elements of this page have been detached. The default implementation does nothing.
-