widgets: clean unused props
This commit is contained in:
parent
43b8d8be5b
commit
b1be207a33
9 changed files with 9 additions and 9 deletions
|
|
@ -15,7 +15,7 @@ class Frame extends StaticProperties(Widget, {bypass: true}) {
|
|||
|
||||
return super.defaults({
|
||||
|
||||
}, ['decimals', 'bypass'], {
|
||||
}, ['decimals', 'typeTags', 'bypass', 'ignoreDefaults'], {
|
||||
|
||||
value: {type: 'string', value: '', help: [
|
||||
'External web page URL.',
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class Html extends StaticProperties(Widget, {bypass: true}) {
|
|||
' <img>: src, width, height',
|
||||
]},
|
||||
|
||||
}, ['decimals', 'bypass'], {})
|
||||
}, ['decimals', 'typeTags', 'bypass', 'ignoreDefaults'], {})
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ module.exports = class Image extends StaticProperties(Widget, {bypass: true}) {
|
|||
'When true, sending `reload` to the widget reloads its image without changing its value'
|
||||
]}
|
||||
|
||||
}, ['decimals', 'bypass'], {
|
||||
}, ['decimals', 'typeTags', 'bypass', 'ignoreDefaults'], {
|
||||
|
||||
value: {type: 'string', value: '', help: [
|
||||
'- File `url` or `path` (relative to the session file location by default, falling back to absolute path)',
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ class Svg extends StaticProperties(Widget, {bypass: true}) {
|
|||
'Svg xml definition (will be wrapped in a `< svg />` element)',
|
||||
]},
|
||||
|
||||
}, ['decimals', 'bypass'], {})
|
||||
}, ['decimals', 'typeTags', 'bypass', 'ignoreDefaults'], {})
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class Eq extends StaticProperties(Plot, {logScaleX: false, logScaleY:false, smoo
|
|||
rangeY: {type: 'object', value: {min:-6, max:6}, help: 'Defines the min and max values for the y axis (in dB)'},
|
||||
origin: {type: 'number|boolean', value: 'auto', help: 'Defines the y axis origin. Set to `false` to disable it'},
|
||||
|
||||
}, ['interaction', 'decimals', 'typeTags', 'bypass'])
|
||||
}, ['interaction', 'decimals', 'typeTags', 'bypass', 'ignoreDefaults'])
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte
|
|||
bars: {type: 'boolean', value: false, help: 'Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing)'},
|
||||
pips:{type: 'boolean', value: true, help: 'Set to `false` to hide the scale'},
|
||||
|
||||
}, ['interaction', 'decimals', 'typeTags', 'bypass'], {
|
||||
}, ['interaction', 'decimals', 'typeTags', 'bypass', 'ignoreDefaults'], {
|
||||
|
||||
value: {type: 'array|string', value: '', help: [
|
||||
'- `Array` of `y` values',
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ class Visualizer extends StaticProperties(Plot, {rangeX: {min: '', max: ''}, dot
|
|||
pips:{type: 'boolean', value: true, help: 'Set to `false` to hide the scale'},
|
||||
freeze: {type: 'boolean', value: false, help: 'Set to `true` to freeze current view and ignore incoming values'}
|
||||
|
||||
}, ['interaction', 'decimals', 'typeTags', 'bypass'], {})
|
||||
}, ['interaction', 'decimals', 'typeTags', 'bypass', 'ignoreDefaults'], {})
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ module.exports = class Led extends StaticProperties(Widget, {bypass: true, inter
|
|||
logScale: {type: 'boolean', value: false, help: 'If `mode` is `intensity`, set to `true` to use logarithmic scale.'},
|
||||
borderRadius: {type: 'string', value: '', help: 'Css border-radius property.'},
|
||||
|
||||
}, ['interaction', 'decimals', 'bypass'], {
|
||||
}, ['interaction', 'decimals', 'bypass', 'ignoreDefaults'], {
|
||||
|
||||
value: {type: 'number|array|string', value: '', help: [
|
||||
'If `mode` is `intensity`:',
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ module.exports = class Text extends StaticProperties(Widget, {bypass: true, inte
|
|||
]},
|
||||
align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Css text-align property.'},
|
||||
|
||||
}, ['interaction', 'decimals', 'bypass'], {})
|
||||
}, ['interaction', 'decimals', 'bypass', 'ignoreDefaults'], {})
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue