This repository was archived by the owner on Aug 14, 2021. It is now read-only.
This repository was archived by the owner on Aug 14, 2021. It is now read-only.
enabled and visible should be allowed to be functions #59
Closed
Description
- New option 'visible', that could be a function returning bool
- New option 'enabled', that could be a function returning bool
- Deprecate 'disabled' ? At least check that it is not mixed with 'enabled'
- ? New option 'status', that could be a function returning 'enabled' | 'diabled' | 'hidden'
{title: "Copy", cmd: "copy", uiIcon: "ui-icon-copy",
visible: function(event, ui) { return ...; }
enabled: function(event, ui) { return ...; }
},