Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Aurelia messaging app
import {inject} from 'aurelia-framework';
import {EventAggregator} from 'aurelia-event-aggregator';
export class Messenger{
this.ea = eventAggregator;
this.message = "";
this.ea.publish('new-message', this.message);
this.message = "";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.