# BlinkService documentation

**Kind:** class

**Provided in:** `root`

```
import { BlinkService } from '@siemens/element-ng/common';
```

A global blink pulse generator for synchronized blinking patterns across an entire application. Use to trigger any blinking by subscribing to `pulse$`.

```
undecorated_class BlinkService
```

#### Attributes and Methods

##### isPaused

[Source for isPaused](<https://github.com/siemens/element/blob/main/projects/element-ng/common/services/blink.service.ts#L70-L72>)

Whether the blinking is paused or not.

```
isPaused(): boolean
```

**Returns:** [boolean](<https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean>)

##### pause

[Source for pause](<https://github.com/siemens/element/blob/main/projects/element-ng/common/services/blink.service.ts#L56-L58>)

Pause the blinking.

```
pause(): void
```

**Returns:** [void](<https://www.typescriptlang.org/docs/handbook/2/functions.html#void>)

##### pulse$

[Source for pulse$](<https://github.com/siemens/element/blob/main/projects/element-ng/common/services/blink.service.ts#L44-L51>)

**Modifiers:** readonly

**Type:** `Observable<boolean>`

**Default:** `timer(0, 1400).pipe(     map(count => count % 2 === 0),     distinctUntilChanged(),     takeUntil(this.off$),     endWith(false),     repeat({ delay: () => this.on$ }),     share()   )`

Blink pulse. Subscribe to it to toggle `on` CSS class when true, `off` CSS class when `false`. Do animations using CSS transitions

##### resume

[Source for resume](<https://github.com/siemens/element/blob/main/projects/element-ng/common/services/blink.service.ts#L63-L65>)

Resume the blinking.

```
resume(): void
```

**Returns:** [void](<https://www.typescriptlang.org/docs/handbook/2/functions.html#void>)
