[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/core/provideIdleServiceWith [Back]  [Original]

provideIdleServiceWith Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/core

provideIdleServiceWith

function
stable

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

Customizing idle behavior

On this page

    arrow_upward_alt Back to the top

    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

    Web Proxy Viewer  |  New URL  |  Original Page