Skip to content

Accessing the window in the Action callback #8

@db255

Description

@db255

May I suggest a small improvement, so that in the callback, we can interact with the window?
In setActionCallback, just add the 'self' parameter to the callback.

Was:
var cb = function() { self.hide();callback();};

Suggested:
var cb = function() { self.hide();callback(self);};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions