js: fix dynamic props static override
This commit is contained in:
parent
8fbe7aec05
commit
8eeec8f01e
5 changed files with 5 additions and 5 deletions
|
|
@ -135,7 +135,7 @@ class Push extends Widget {
|
|||
|
||||
}
|
||||
|
||||
Push.dynamicProps = Push.prototype.dynamicProps.concat(
|
||||
Push.dynamicProps = Push.prototype.constructor.dynamicProps.concat(
|
||||
'on',
|
||||
'off',
|
||||
'norelease'
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ class Toggle extends Widget {
|
|||
|
||||
}
|
||||
|
||||
Toggle.dynamicProps = Toggle.prototype.dynamicProps.concat(
|
||||
Toggle.dynamicProps = Toggle.prototype.constructor.dynamicProps.concat(
|
||||
'on',
|
||||
'off'
|
||||
)
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ class Canvas extends Widget {
|
|||
|
||||
}
|
||||
|
||||
Canvas.dynamicProps = Canvas.prototype.dynamicProps.concat(
|
||||
Canvas.dynamicProps = Canvas.prototype.constructor.dynamicProps.concat(
|
||||
'on',
|
||||
'off'
|
||||
)
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@ class Panel extends Widget {
|
|||
|
||||
}
|
||||
|
||||
Panel.dynamicProps = Panel.prototype.dynamicProps.concat(
|
||||
Panel.dynamicProps = Panel.prototype.constructor.dynamicProps.concat(
|
||||
'variables'
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ class Slider extends Canvas {
|
|||
|
||||
}
|
||||
|
||||
Slider.dynamicProps = Slider.prototype.dynamicProps.concat(
|
||||
Slider.dynamicProps = Slider.prototype.constructor.dynamicProps.concat(
|
||||
'on',
|
||||
'off'
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue