Skip to content

Add support to specify recipient window explicitly #11

@quaardvark

Description

@quaardvark

Currently, the recipient window that is targeted by $messageOutgoing event is defined in a confusing way. It is either window.parent or event source of the message that has been received earlier by emitting window. In my opinion, this is confusing and prone to side effects (event source also pollutes $rootScope without necessity).

I think that ability to specify recipient window explicitly would add great value to the module and make it really universally usable. In my case, I needed to send message to window.opener which is not supported out of the box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions