tigase / halcyon

Kotlin Multiplatform XMPP client library
GNU Affero General Public License v3.0
58 stars 9 forks source link

How is this supposed to be used with Angular? #13

Open duzenko opened 3 years ago

duzenko commented 3 years ago
import halcyon from 'halcyon-core-jsLegacy';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {

    constructor() {
        console.log( halcyon.tigase.halcyon.core.Halcyon())
    }
}

Fail ERROR TypeError: this.eventBus is undefined