Skip to content
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
@mar10

Description

@mar10
  • 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 ...; }
},

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions