ng-window-messenger
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

Installation

npm i ng-window-messenger -S

How to use

import { WindowMessengerService } from 'ng-window-messenger';

msgService: WindowMessengerService;

constructor () {
    this.msgService = new WindowMessengerService(window);
    this.msgService.sendMessage({ messageType: 'open', content: 'just a test'});
}

Readme

Keywords

Package Sidebar

Install

npm i ng-window-messenger

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

4.24 kB

Total Files

6

Last publish

Collaborators

  • chuduyunhuan