open-index/open-npm huggingface dataset:
npm package: @ngutil/floating
Description: ## Usage
Latest version: 0.0.120

# floating

## Usage

### Configure

```typescript
import { provideAnimations } from "@angular/platform-browser/animations"
import { provideFloating } from "@ngutil/floating"

export const appConfig: ApplicationConfig = {
    providers: [
        provideAnimations(),
        provideFloating()
    ]
}
```

### Create floating from component

```typescript
@Component({
    selector: 'app-modal',
    template: `...`
})
export class ModalComponent {}

@Component({
    selector: `app-user-list`,
})
export class UserListComponent {
    readonly #floating = inject(FloatingService)

    confirm() {
        this.#floating.from(ModalComponent).trait(modal()).subscribe()
    }
}
```
npm package: @ngutil/pwa
Description: This codebase includes utilities and tools specifically designed to assist in the development of Progressive Web Applications (PWAs).
Latest version: 0.0.120

# PWA

This codebase includes utilities and tools specifically designed to assist in the development of Progressive Web Applications (PWAs).

## Installer prompt

```typescript
// config.ts

import { provideInstallerPrompt } from "@ngutil/pwa"

export const appConfig: ApplicationConfig = {
    providers: [
        // ...
        provideInstallerPrompt()
    ]
}
```