Extends
Constructor
new ve.ui.DebugBar(surface, [config])
#
Hierarchy
Debug bar
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
surface |
ve.ui.Surface | Surface to debug |
|
config |
Object |
optional |
Configuration options |
- Source:
Debug bar
Properties
dividerTemplatestatic
#
Divider HTML template
Properties:
Type | Description |
---|---|
string |
- Source:
Divider HTML template
Methods
destroy()
#
Destroy the debug bar
- Source:
Destroy the debug bar
generateListFromLinearData(linearData) → {jQuery}
#
Get an ordered list representation of some linear data
Parameters:
Name | Type | Description |
---|---|---|
linearData |
ve.dm.ElementLinearData | Linear data |
- Source:
Returns:
Ordered list
- Type
- jQuery
Get an ordered list representation of some linear data
generateListFromNode(node) → {jQuery}
#
Generate an ordered list describing a node
getSurface() → {ve.ui.Surface|null
}
#
null
}
#
Get surface the debug bar is attached to
onFilibusterToggleClick(e)
#
Handle click events on the filibuster toggle button
Parameters:
Name | Type | Description |
---|---|---|
e |
jQuery.Event |
- Source:
Handle click events on the filibuster toggle button
onHistory()
#
Handle history events on the attached surface
- Source:
Handle history events on the attached surface
onInputDebuggingToggleChange(value)
#
Handle click events on the input debugging toggle button
Parameters:
Name | Type | Description |
---|---|---|
value |
boolean |
- Source:
Handle click events on the input debugging toggle button
onLogRangeButtonClick(e)
#
Handle click events on the log range button
Parameters:
Name | Type | Description |
---|---|---|
e |
jQuery.Event |
- Source:
Handle click events on the log range button
onShowModelToggleChange(value)
#
Handle change events on the show model toggle
Parameters:
Name | Type | Description |
---|---|---|
value |
boolean |
- Source:
Handle change events on the show model toggle
onSurfaceSelect(selection)
#
Handle select events on the attached surface
Parameters:
Name | Type | Description |
---|---|---|
selection |
ve.dm.Selection |
- Source:
Handle select events on the attached surface
onTestSquasherToggleChange(value)
#
Handle click events on the test squasher toggle button
Parameters:
Name | Type | Description |
---|---|---|
value |
boolean |
- Source:
Handle click events on the test squasher toggle button
onTransactionsToggleChange(value)
#
Handle click events on the filibuster toggle button
Parameters:
Name | Type | Description |
---|---|---|
value |
boolean |
- Source:
Handle click events on the filibuster toggle button
onUpdateModelToggleChange(value)
#
Handle change events on the update model toggle button
Parameters:
Name | Type | Description |
---|---|---|
value |
boolean |
- Source:
Handle change events on the update model toggle button
updateDump()
#
Update the model dump
- Source:
Update the model dump
updateTransactions()
#
Update the transaction dump
- Source:
Update the transaction dump