Extends
Methods
onClick()
#
Overrides ButtonElement.prototype.onClick so that it doesn't call ev.stopPropagation. This ensures the dialog dismisses other open overlays e.g. ULS (See T295796 for more information).
- Source:
Overrides ButtonElement.prototype.onClick so that it doesn't call ev.stopPropagation.
setCount(numItems, [convertedNumber])
#
Set the count labels for this button.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
numItems |
number | Number of items |
|
convertedNumber |
string |
optional |
Label of the button. Defaults to the default message showing the item number. |
- Source:
Set the count labels for this button.