@chatie/angular

Wechaty Web Component NgModule for Angular 4
This package is part of Chatie project: https://github.com/chatie

Picture credit: How to create an Angular library
TL;DR;
Let's see code example:
<wechaty
#wechaty
token="WECHATY_TOKEN"
(scan) = "onEvent('scan' , $event)"
(login) = "onEvent('login' , $event)"
>
<button (click)="wechaty.logoff()"> Logoff</button>
</wechaty>
Moer details, see code. ;-]
Reference
NPM
Version History
v0.1.0 (May 2017)
- Upgrade Angular 4.1
- NgModule-ize Wachaty Component
v0.0.1 (Jul 2016)
- Modulized Angular 2 Component:
wechaty-core
- Support all(and same) IO Events of Wechaty
Known Issues & Support
Github Issue - https://github.com/chatie/angular/issues
Author
Zhuohuan LI zixia@zixia.net (http://linkedin.com/in/zixia)
Copyright & License
- Code & Docs 2016© zixia
- Code released under the MIT license
- Docs released under Creative Commons