@aeldar/frame-link

Angular X service to communicate between iframes

Usage no npm install needed!

<script type="module">
  import aeldarFrameLink from 'https://cdn.skypack.dev/@aeldar/frame-link';
</script>

README

FrameLinkModule

Usage

Inside AppModule of the app import and confiure FrameLinkModule providing appId:

import { FrameLinkModule } from 'frame-link';

@NgModule({
  // ...
  imports: [
    FrameLinkModule.forRoot({ appId: 'my-app-id' }),
  ],
})

Inside component:

import { FrameLinkService } from 'frame-link';

export class AppComponent {
  constructor(private frameLinkService: FrameLinkService) {}
}