Skip to main content

CotomyPageController

Base class for page-level orchestration and form management.

Static Methods

MethodDescription
set(type)Initializes and registers a page controller instance.
get()Returns the current controller instance.

Properties

PropertyTypeDescription
bodyCotomyElementRoot document body element.

Protected Members (for subclassing)

MemberDescription
setForm(form)Registers and initializes a form.
getForm(id, type?)Retrieves a registered form by id.
formsList of registered forms.
restoreAsync()Reloads forms on BFCache restoration.
initializeAsync()Initialization hook for subclasses.
urlCotomyUrl for the current location.