eq/plot/visualizer/text/led: unhide interaction property (defaults to false) to allow custom container touch handling
This commit is contained in:
parent
c26c5aaed2
commit
b5e4add855
5 changed files with 11 additions and 13 deletions
|
|
@ -14,7 +14,7 @@ class Eq extends StaticProperties(Plot, {logScaleX: false, logScaleY:false, smoo
|
|||
|
||||
return super.defaults().extend({
|
||||
widget: {
|
||||
interaction: null
|
||||
interaction: {value: false}
|
||||
},
|
||||
class_specific: {
|
||||
filters: {type: 'array', value: '', help: [
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ var {mapToScale} = require('../utils'),
|
|||
html = require('nanohtml'),
|
||||
StaticProperties = require('../mixins/static_properties')
|
||||
|
||||
module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, interaction: false}) {
|
||||
module.exports = class Plot extends StaticProperties(Canvas, {bypass: true}) {
|
||||
|
||||
static description() {
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte
|
|||
|
||||
return super.defaults().extend({
|
||||
widget: {
|
||||
interaction: null
|
||||
interaction: {value: false}
|
||||
},
|
||||
style: {
|
||||
_separator_plot_style: 'Plot style',
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ var {clip} = require('../utils'),
|
|||
canvasQueue = require('../common/queue')
|
||||
|
||||
|
||||
class Visualizer extends StaticProperties(Plot, {rangeX: {min: '', max: ''}, dots: false, smooth: false, interaction: false}) {
|
||||
class Visualizer extends StaticProperties(Plot, {rangeX: {min: '', max: ''}, dots: false, smooth: false}) {
|
||||
|
||||
static description() {
|
||||
|
||||
|
|
@ -16,7 +16,7 @@ class Visualizer extends StaticProperties(Plot, {rangeX: {min: '', max: ''}, dot
|
|||
|
||||
return super.defaults().extend({
|
||||
widget: {
|
||||
interaction: null
|
||||
interaction: {value: false}
|
||||
},
|
||||
style: {
|
||||
bars: null,
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
var {mapToScale} = require('../utils'),
|
||||
Widget = require('../common/widget'),
|
||||
html = require('nanohtml'),
|
||||
StaticProperties = require('../mixins/static_properties')
|
||||
html = require('nanohtml')
|
||||
|
||||
module.exports = class Led extends StaticProperties(Widget, {interaction: false}) {
|
||||
module.exports = class Led extends Widget {
|
||||
|
||||
static description() {
|
||||
|
||||
|
|
@ -15,7 +14,7 @@ module.exports = class Led extends StaticProperties(Widget, {interaction: false}
|
|||
|
||||
return super.defaults().extend({
|
||||
widget: {
|
||||
interaction: null
|
||||
interaction: {value: false}
|
||||
},
|
||||
class_specific: {
|
||||
mode: {type: 'string', value: 'intensity', choices: ['intensity', 'color'], help: 'Defines how value is interpreted (see `value`)'},
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
var {iconify} = require('../../ui/utils'),
|
||||
Widget = require('../common/widget'),
|
||||
html = require('nanohtml'),
|
||||
StaticProperties = require('../mixins/static_properties')
|
||||
html = require('nanohtml')
|
||||
|
||||
module.exports = class Text extends StaticProperties(Widget, {interaction: false}) {
|
||||
module.exports = class Text extends Widget {
|
||||
|
||||
static description() {
|
||||
|
||||
|
|
@ -15,7 +14,7 @@ module.exports = class Text extends StaticProperties(Widget, {interaction: false
|
|||
|
||||
return super.defaults().extend({
|
||||
widget: {
|
||||
interaction: null
|
||||
interaction: {value: false}
|
||||
},
|
||||
style: {
|
||||
_separator_text_style: 'Text style',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue