Browse Source

Pass options to editor.getJs method

pull/3563/head
Artur Arseniev 5 years ago
parent
commit
a250556c66
  1. 6
      src/editor/index.js

6
src/editor/index.js

@ -231,10 +231,12 @@ export default (config = {}) => {
/**
* Returns JS of all components
* @param {Object} [opts={}] Options
* @param {Component} [opts.component] Get the JS of a particular component
* @returns {string} JS string
*/
getJs() {
return em.getJs();
getJs(opts) {
return em.getJs(opts);
},
/**

Loading…
Cancel
Save