This library was generated with Angular CLI version 8.2.13.
Component instance
Run ng generate component component-name --project eds-player
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project eds-player
.
Note: Don't forget to add
--project eds-player
or else it will be added to the default project in yourangular.json
file.
Run ng build eds-player
to build the project. The build artifacts will be stored in the dist/
directory.
After building your library with ng build eds-player
, go to the dist folder cd dist/eds-player
and run npm publish
.
Run ng test eds-player
to execute the unit tests via Karma.
Import into .ts component: import { EdsPlayerEvents } from '@everydayspeech/player';
Instance on constructor (private player: EdsPlayerEvents)
setUrl(url);
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.