image: add support for special value "qrcode"

This commit is contained in:
jean-emmanuel 2022-12-25 17:33:18 +01:00
parent cebca61e30
commit 3fd9c694ce
3 changed files with 19 additions and 4 deletions

View file

@ -29,7 +29,8 @@ module.exports = class Image extends StaticProperties(Widget, {bypass: true}) {
value: {
value: {type: 'string', value: '', help: [
'- File `url` or `path` (relative to the session or theme file location by default, falling back to absolute path)',
'- Base64 encoded image : `data:image/...`'
'- Base64 encoded image : `data:image/...`',
'- Enter "qrcode" to display the server\'s address QR code'
]}
},
osc: {