Extends
Constructor
new ve.ui.MWTransclusionOutlineParameterWidget(config)
#
A widget that represents a template parameter, with a checkbox to add/remove the parameter. Modelled after {@see OO.ui.OutlineOptionWidget}. Also see {@see OO.ui.CheckboxMultioptionWidget} for inspiration.
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
Properties:
|
A widget that represents a template parameter, with a checkbox to add/remove the parameter.
Methods
ensureVisibility(paddingTop)
#
Custom method to scroll parameter into view respecting the sticky part that sits above
Parameters:
Name | Type | Description |
---|---|---|
paddingTop |
number |
Custom method to scroll parameter into view respecting the sticky part that sits above
onMouseDown(e)private
#
Parameters:
Name | Type | Description |
---|---|---|
e |
jQuery.Event |
setSelected()
#
toggleActivePageIndicator(state)
#
Parameters:
Name | Type | Description |
---|---|---|
state |
boolean |
toggleHasValue(hasValue)
#
Parameters:
Name | Type | Description |
---|---|---|
hasValue |
boolean |