openvidu/openvidu-components-angular/projects/openvidu-angular
csantosm d7b81739e7 openvidu-components: Allowed external panels
- Allowed injecting external panels and exported the panel service for toggling panels and subscribe to the panel status
- Renamed menu to panel
- Updated docs
2022-04-07 10:04:20 +02:00
..
src openvidu-components: Allowed external panels 2022-04-07 10:04:20 +02:00
.browserslistrc openvidu-components: Added webcomponent E2E tests 2022-03-16 12:15:22 +01:00
.prettierrc openvidu-components: Renamed library to openvidu-angular 2022-01-20 09:58:12 +01:00
README.md openvidu-components: Updated docs assets 2022-03-28 16:52:03 +02:00
karma.conf.js openvidu-components: Renamed library to openvidu-angular 2022-01-20 09:58:12 +01:00
ng-package.json openvidu-components: Renamed library to openvidu-angular 2022-01-20 09:58:12 +01:00
package.json openvidu-components: Added webcomponent E2E tests 2022-03-16 12:15:22 +01:00
tsconfig.lib.json openvidu-components: Renamed library to openvidu-angular 2022-01-20 09:58:12 +01:00
tsconfig.lib.prod.json openvidu-components: Renamed library to openvidu-angular 2022-01-20 09:58:12 +01:00
tsconfig.spec.json openvidu-components: Renamed library to openvidu-angular 2022-01-20 09:58:12 +01:00

README.md

openvidu-angular

openvidu-angular is a library generated with the aim of facilitate the customization of videconference app provides by OpenVidu, providing powerful ready-to-use components.

This library is an Angular library based on Angular projections

Code scaffolding

Architechture

openvidu-components-angular
│
└─── src (openvidu-components-testapp)
│
└───projects
    │
	└─── openvidu-angular

Development server

Run ng serve for a dev server.

Run, in a new terminal, npm run lib:serve for serving the openvidu-angular library with live reload

Code scaffolding

For generate new components in openvidu-angular:

ng g component components/component-name --project=openvidu-angular

Build

npm run lib:build

Publishing

After the library is built, tun the following command:

cd dist/ && npm publish

How to use in an Angular project

Importing library module in yout app.module.ts

@NgModule({
  imports: [
    BrowserModule,
    OpenviduAngularModule.forRoot({
      environment: environment
    }),
    ...
 ]})