Settings

Settings

The sidebar tab which displays various game settings, help messages, and configuration options. The Settings sidebar is the furthest-to-right using a triple-cogs icon.

Constructor

new Settings()

Extends

Members

(static) defaultOptions

_original :SidebarTab

Inherited From:

Denote whether or not this is the original version of the sidebar tab, or a pop-out variant

Type:

(protected) _popout :SidebarTab

Inherited From:

A reference to the pop-out variant of this SidebarTab, if one exists

Type:

tabName :string

Inherited From:

The base name of this sidebar tab

Type:
  • string

Methods

_onLazyLoadImage(entries, observer)

Inherited From:

Handle lazy loading for sidebar images to only load them once they become observed

Parameters:
Name Type Description
entries Array.<HTMLElement>

The entries which are now observed

observer IntersectionObserver

The intersection observer instance

(async) _render()

Inherited From:

(async) _renderInner()

Inherited From:

activate()

Inherited From:

Activate this SidebarTab, switching focus to it

activateListeners()

(async) close()

Inherited From:

createPopout() → {SidebarTab}

Inherited From:

Create a second instance of this SidebarTab class which represents a singleton popped-out container

Returns:

The popped out sidebar tab instance

Type
SidebarTab

getData()

(async) render()

Inherited From:

renderPopout()

Inherited From:

Render the SidebarTab as a pop-out container