docs: update

This commit is contained in:
bordun 2021-04-04 11:07:53 +02:00
parent 7ff2bb156c
commit 1ab5291f63
3 changed files with 13 additions and 3 deletions

View file

@ -21,7 +21,7 @@ class Fragment extends Container() {
var defaults = super.defaults().extend({
class_specific: {
file: {type: 'string', value: '', help: 'Fragment file path'},
file: {type: 'string', value: '', help: 'Fragment file path (relative to the session or theme file location by default, falling back to absolute path)'},
props: {type: 'object', value: {}, help: 'Fragment widget\'s properties to override'},
},
value: null,

View file

@ -28,7 +28,7 @@ module.exports = class Image extends StaticProperties(Widget, {bypass: true}) {
},
value: {
value: {type: 'string', value: '', help: [
'- File `url` or `path` (relative to the session file location by default, falling back to absolute path)',
'- File `url` or `path` (relative to the session or theme file location by default, falling back to absolute path)',
'- Base64 encoded image : `data:image/...`'
]}
},