https://github.com/design4pro/ngx-call
Call & Await Angular Components
https://github.com/design4pro/ngx-call
angular dialog ngx
Last synced: 4 days ago
JSON representation
Call & Await Angular Components
- Host: GitHub
- URL: https://github.com/design4pro/ngx-call
- Owner: design4pro
- Created: 2026-06-15T09:48:45.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-06-15T20:16:06.000Z (about 1 month ago)
- Last Synced: 2026-06-15T21:22:27.708Z (about 1 month ago)
- Topics: angular, dialog, ngx
- Language: TypeScript
- Homepage: https://design4pro.github.io/ngx-call/
- Size: 137 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ngx-call
Angular workspace for `ngx-call`, an awaitable UI call helper for Angular components.
The `demo` app is a static landing page and live playground for the library.
## Install
`ngx-call` is published to GitHub Packages as `@design4pro/ngx-call`:
```bash
npm install @design4pro/ngx-call
```
## Development server
The demo imports `ngx-call` from `dist/ngx-call`, so build the library before serving a
fresh checkout:
```bash
npx ng build ngx-call
```
For active demo work, keep the library build running in watch mode:
```bash
npx ng build ngx-call --configuration development --watch
```
In another terminal, start the demo development server:
```bash
npm start -- --project demo
```
Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
## Demo build
Build the production demo:
```bash
npx ng build demo --configuration production
```
The static output is written to `dist/demo/browser`.
For GitHub Pages, build with the repository base path:
```bash
npx ng build demo --configuration production --base-href "//"
```
## GitHub Pages
The repository includes `.github/workflows/deploy-pages.yml`. To publish:
1. In GitHub, set **Settings → Pages → Source** to **GitHub Actions**.
2. Push to `main` or run the workflow manually.
3. The workflow installs dependencies, builds `ngx-call`, builds `demo`, uploads `dist/demo/browser`, and deploys it to Pages.
## Library build
To build the package library run:
```bash
ng build
```
This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
## Running unit tests
To execute unit tests with the [Vitest](https://vitest.dev/) test runner, use the following command:
```bash
ng test
```
## Additional Resources
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.