Expand all

abstract ve.ui.MWCategoryItemWidget

Extends

Constructor

new ve.ui.MWCategoryItemWidget(config)abstract #

Creates an ve.ui.MWCategoryItemWidget object.

Parameters:

Name Type Description
config Object
Properties:
Name Type Attributes Description
item Object

Category item

Properties:
Name Type Attributes Default Description
name string

Category name

value string
sortKey string optional
''
metaItem ve.dm.MWCategoryMetaItem
hidden boolean optional

Whether the category is hidden or not

missing boolean optional

Whether the category's description page is missing

redirectTo string optional

The name of the category this category's page redirects to.

Mixes in:
Source:
Creates an ve.ui.MWCategoryItemWidget object.

Methods

onButtonClick() #

Handle button widget click events.

Events

togglePopupMenu(item) #

Parameters:

Name Type Description
item ve.ui.MWCategoryItemWidget

Item to load into popup

Source: