openvidu/openvidu-components-angular/projects/openvidu-angular
csantosm 98fbe060a3 openvidu-components: Moved component logic to openvidu service
Moved toggle screen, toggle video and toggle audio logic from toolbar and prejoin component to openvidu service with the aim of avoiding code duplications and being able to provide a powerful method to the components user
2022-03-31 12:25:24 +02:00
..
src openvidu-components: Moved component logic to openvidu service 2022-03-31 12:25:24 +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
    }),
    ...
 ]})