ElectronDock.bounce method
ElectronDock › bounce
Unofficial
Bounces the dock icon. Whencritical is passed, the icon bounces until the app becomes active or the request is canceled; when informational is passed, it bounces for one second. macOS only. Signature:
bounce(type?: "critical" | "informational" | undefined): numberParameters:
| Parameter | Type | Description |
|---|---|---|
| type? | "critical" | "informational" | undefined | The bounce type. |
Returns: number — An ID representing the request.