I have an example like this
And I just want to hide Delay and Duration properties if autoplay is false
.
For example, this way:
ScriptType.attributes.add('autoplay', { type: 'boolean' });
ScriptType.attributes.add('delay', {
type: 'number',
default: 0,
isVisible: function(){
return this.autoplay;
}
});
Same question was here and still not enough active discussion. But may be you have this feature in milestones?
(May be I should post it in suggestions thread?)