open-index/open-npm huggingface dataset:
npm package: @snowbound/virtualviewer
Description: ## Installation
Latest version: 0.1.6

# VirtualViewer for Angular 

## Installation

To install this library, run:

```bash
$ npm install @snowbound/virtualviewer --save
```

## Consuming @snowbound/virtualviewer

To use the VirtualViewerComponent you must import VirtualViewerModule. When importing you can also configure base VirtualViewer settings, such as the URL for this component to connect to VirtualViewer (which by default is http://localhost:8080/virtualviewer). 

```typescript
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

//Import the base config object VirtualViewerConfig if you wish to change default configuration
import { VirtualViewerModule, VirtualViewerConfig } from '@snowbound/virtualviewer';

//To change configuration, create a VirtualViewerConfig with your desired configuration
const myVirtualViewerConfig: VirtualViewerConfig = {
    baseUrl: "http://my-virtual-viewer-url:8080";
}

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,

    //import VirtualViewer
    //VirtualViewerConfig can be provided as an optional parameter
    VirtualViewerModule.forRoot(myVirtualViewerConfig);
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
```

## Using VirtualViewerComponent

The VirtualViewerComponent selector is `<snbd-virtualviewer>` - this component will create a frame containing VirtualViewer. If you wish to also open a document, you can provide `documentId` and (optionally) `clientInstanceId` inputs:

```html
<snbd-virtualviewer [documentId]="MyDocument.pdf" [clientInstanceId]="clientInstanceId"></snbd-virtualviewer>
```
npm package: @snowbound/virtualviewer-alfresco
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.2.5.
Latest version: 0.1.6

# VirtualviewerAlfresco

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.2.5.

## Code scaffolding

Run `ng generate component component-name --project virtualviewer-alfresco` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project virtualviewer-alfresco`.
> Note: Don't forget to add `--project virtualviewer-alfresco` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build virtualviewer-alfresco` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build virtualviewer-alfresco`, go to the dist folder `cd dist/virtualviewer-alfresco` and run `npm publish`.

## Running unit tests

Run `ng test virtualviewer-alfresco` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.