Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Docs: Fixed docs for DowncastDispatcher #1589

Merged
merged 2 commits into from
Nov 8, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions src/conversion/downcastdispatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,14 +495,17 @@ export default class DowncastDispatcher {
*
* @event remove
* @param {Object} data Additional information about the change.
* @param {module:engine/model/position~Position} data.sourcePosition Position from where the range has been removed.
* @param {module:engine/model/range~Range} data.range Removed range (in {@link module:engine/model/document~Document#graveyard
* graveyard root}).
* @param {module:engine/model/position~Position} data.position Position from which the node has been removed.
* @param {Number} data.length Offset size of the removed node.
* @param {Object} conversionApi Conversion interface to be used by callback, passed in `DowncastDispatcher` constructor.
*/

/**
* Fired when attribute has been added/changed/removed from a node. Also fired when collapsed model selection attribute is converted.
* Fired in the following cases:
*
* * when an attribute has been added, changed, or removed from a node,
* * when a node with an attribute is inserted,
* * when collapsed model selection attribute is converted.
*
* `attribute` is a namespace for a class of events. Names of actually called events follow this pattern:
* `attribute:attributeKey:name`. `attributeKey` is the key of added/changed/removed attribute.
Expand Down