Browse Source

Merge pull request #4128 from lofcz/docs-getcss1

Up docs
pull/4134/head
Artur Arseniev 5 years ago
committed by GitHub
parent
commit
ee872ffe14
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/editor/index.js

1
src/editor/index.js

@ -169,6 +169,7 @@ export default (config = {}, opts = {}) => {
* @param {Boolean} [opts.json=false] Return an array of CssRules instead of the CSS string
* @param {Boolean} [opts.avoidProtected=false] Don't include protected CSS
* @param {Boolean} [opts.onlyMatched=false] Return only rules matched by the passed component.
* @param {Boolean} [opts.keepUnusedStyles=false] Force keep all defined rules. Toggle on in case output looks different inside/outside of the editor.
* @returns {String|Array<CssRule>} CSS string or array of CssRules
*/
getCss(opts) {

Loading…
Cancel
Save