Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName = "jungletv:pages"
ModuleName is the name by which this module can be require()d in a script
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PageInfoAndID ¶
type PagesModule ¶
type PagesModule interface { modules.NativeModule ResolvePage(pageID string) (PageInfo, bool) PublishedPages() []PageInfoAndID OnPagePublished() event.Event[string] OnPageUnpublished() event.Event[string] }
PagesModule manages page associations for an application
func New ¶
func New(appContext modules.ApplicationContext) PagesModule
New returns a new pages module
Click to show internal directories.
Click to hide internal directories.