Extends
Methods
closePopup()
#
Close the popup.
Close the popup.
loadCategoryIntoPopup(item)
#
Load item information into the popup.
Parameters:
Name | Type | Description |
---|---|---|
item |
ve.ui.MWCategoryItemWidget | Category item |
Load item information into the popup.
onRemoveCategory()
#
Handle category remove events.
Fires:
Handle category remove events.
onSortKeySubmit(e) → {boolean}
#
Handle sort key form submit events.
Parameters:
Name | Type | Description |
---|---|---|
e |
jQuery.Event | Form submit event |
Returns:
- Type
- boolean
Fires:
Handle sort key form submit events.
onToggle(show)
#
Handle popup toggle events.
Parameters:
Name | Type | Description |
---|---|---|
show |
boolean | Widget is being made visible |
Fires:
Handle popup toggle events.
openPopup(item)
#
Open a category item popup.
Parameters:
Name | Type | Description |
---|---|---|
item |
ve.ui.MWCategoryItemWidget | Category item |
Open a category item popup.
setDefaultSortKey(value)
#
Set the default sort key.
Parameters:
Name | Type | Description |
---|---|---|
value |
string | Default sort key value |
Set the default sort key.
setPopup(item)
#
Display the popup next to an item.
Parameters:
Name | Type | Description |
---|---|---|
item |
ve.ui.MWCategoryItemWidget | Category item |
Display the popup next to an item.
Events
removeCategory(category)
#
Parameters:
Name | Type | Description |
---|---|---|
category |
string | Category name |
updateSortkey(category, sortkey)
#
Parameters:
Name | Type | Description |
---|---|---|
category |
string | Category name |
sortkey |
string | New sortkey |