Class: FavoriteButton

FavoriteButton(config)

new FavoriteButton(config)

Parameters:
Name Type Description
config Object

Configuration options.

Properties
Name Type Description
pageId string

The wiki page ID of the page to favorite/unfavorite. If "-1" then the button will be disabled.

favoritesStore FavoritesStore

The store to use.

Source:

Extends

  • OO.ui.ButtonInputWidget