Skip to content

SiLoadingService documentation

import { SiLoadingService } from '@siemens/element-ng/loading-spinner';

Attributes and Methods

Name Type Default Description
(readonly)counter
BehaviorSubject<number> new BehaviorSubject<number>(0)

Counts the number of loads active, is 0 when all loading is finished (or hasn't started).

startLoad()
() => void

Start the loading.

stopLoad()
() => void

Stop the loading.


Except where otherwise noted, content on this site is licensed under MIT License.