Browse Source

Update refresh JSDoc

pull/3073/head
Artur Arseniev 6 years ago
parent
commit
5573708804
  1. 9
      src/editor/index.js

9
src/editor/index.js

@ -481,14 +481,13 @@ export default (config = {}) => {
}, },
/** /**
* Update editor dimensions and refresh data useful for positioning of tools * Update editor dimension offsets
* *
* This method could be useful when you update, for example, some position * This method could be useful when you update, for example, some position
* of the editor element (eg. canvas, panels, etc.) with CSS, where without * of the editor element (eg. canvas, panels, etc.) with CSS, where without
* refresh you'll get misleading position of tools (eg. rich text editor, * refresh you'll get misleading position of tools
* component highlighter, etc.) * @param {Object} [options] Options
* * @param {Boolean} [options.tools=false] Update the position of tools (eg. rich text editor, component highlighter, etc.)
* @private
*/ */
refresh(opts) { refresh(opts) {
em.refreshCanvas(opts); em.refreshCanvas(opts);

Loading…
Cancel
Save