Class: TemplateList

TemplateList(configopt)

new TemplateList(configopt)

Parameters:
Name Type Attributes Description
config Object <optional>

Configuration options.

Properties
Name Type Description
favoritesStore FavoritesStore
Source:

Extends

  • OO.ui.TabPanelLayout

Methods

addRowToList(fave)

Add a template to the list of favorites.

Parameters:
Name Type Description
fave Object
Source:

onFavoriteAdded(pageId) → {void}

When a favorite is added, update the list.

Parameters:
Name Type Description
pageId number
Source:
Returns:
Type
void

onFavoriteRemoved(pageId)

When a favorite is removed, update the list.

Parameters:
Name Type Description
pageId number
Source: