Expand all

ve.ui.GutterSidebarEditCheckDialog

Extends

Constructor

new ve.ui.GutterSidebarEditCheckDialog(config) #

GutterSidebarEditCheckDialog constructor.

The edit check dialog which is created when the user is on mobile. It adds a narrow gutter wide enough to show an icon. When clicked, we create (or reuse) a ve.ui.FixedEditCheckDialog instance to show the check details.

Parameters:

Name Type Description
config Object

Configuration options

Source:
GutterSidebarEditCheckDialog constructor.

Methods

onActionsUpdated(listener, actions, newActions, discardedActions, rejected) #

Handle updates to the list of edit check actions.

Parameters:

Name Type Description
listener string

Check listener

actions Array.<mw.editcheck.EditCheckAction>

All current actions

newActions Array.<mw.editcheck.EditCheckAction>

Newly added actions

discardedActions Array.<mw.editcheck.EditCheckAction>

Newly removed actions

rejected boolean

The last action was rejected/dismissed

Source:
Handle updates to the list of edit check actions.

onPosition() #

Handle position events from the controller

Source:
Handle position events from the controller

renderActions(actions, newActions) #

Render the edit check actions as gutter icons, grouping overlapping actions.

Parameters:

Name Type Description
actions Array.<mw.editcheck.EditCheckAction>

List of actions to render

newActions Array.<mw.editcheck.EditCheckAction>

Newly found actions, which could takeFocus

Source:
Render the edit check actions as gutter icons, grouping overlapping actions.