• Overview
@angular/core

provideIdleServiceWith

function
stable

Configures Angular to use the given DI token as its IdleService.

API

Description

Configures Angular to use the given DI token as its IdleService.

The given token must be available for injection from the root injector, and the injected value must implement the IdleService interface.

Jump to details