@ecsbase/offline-indicator
v0.2.0
Published
@ecsbase/offline-indicator — reusable building block.
Downloads
131
Readme
@ecsbase/offline-indicator
Banner that toggles based on the browser online/offline events.
Install
pnpm add @ecsbase/offline-indicatorPeer dependencies
@angular/common^20.0.0@angular/core^20.0.0
Quick start
import { OfflineIndicatorComponent } from '@ecsbase/offline-indicator';
@Component({
imports: [OfflineIndicatorComponent],
template: `<ecs-offline-indicator />`,
})
export class Demo {}Playground
Live demo: /offline-indicator — run pnpm start:playground then visit http://localhost:4200/offline-indicator.
License
MIT — see LICENSE at the repository root.
