Browse Source

Update Component.js

pull/4103/head
Matěj Štágl 4 years ago
committed by GitHub
parent
commit
7980b9aa9f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/dom_components/model/Component.js

2
src/dom_components/model/Component.js

@ -75,7 +75,7 @@ export const keyUpdateInside = `${keyUpdate}-inside`;
* @property {Boolean} [selectable=true] Allow component to be selected when clicked. Default: `true`
* @property {Boolean} [hoverable=true] Shows a highlight outline when hovering on the element if `true`. Default: `true`
* @property {Boolean} [void=false] This property is used by the HTML exporter as void elements don't have closing tags, eg. `<br/>`, `<hr/>`, etc. Default: `false`
* @property {Object} [style=''] Component related style, eg. `{ width: '100px', height: '100px', 'background-color': 'red' }`
* @property {Object} [style=''] Component default style, eg. `{ width: '100px', height: '100px', 'background-color': 'red' }`
* @property {String} [styles=''] Component related styles, eg. `.my-component-class { color: red }`
* @property {String} [content=''] Content of the component (not escaped) which will be appended before children rendering. Default: `''`
* @property {String} [icon=''] Component's icon, this string will be inserted before the name (in Layers and badge), eg. it can be an HTML string '<i class="fa fa-square-o"></i>'. Default: `''`

Loading…
Cancel
Save