angular / 16 / api / core / afterrenderoptions.html

AfterRenderOptions

interface developer preview

Options passed to afterRender and afterNextRender.

interface AfterRenderOptions {
  injector?: Injector
}

Properties

Property Description
injector?: Injector

The Injector to use during creation.

If this is not provided, the current injection context will be used instead (via inject).

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v16.angular.io/api/core/AfterRenderOptions