W3cubDocs

/Angular 12

NgElementStrategyFactory

interface

Factory used to create new strategies for each NgElement instance.

interface NgElementStrategyFactory {
  create(injector: Injector): NgElementStrategy
}

Methods

Creates a new instance to be used for an NgElement.

create(injector: Injector): NgElementStrategy

Parameters
injector Injector
Returns

NgElementStrategy

© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/elements/NgElementStrategyFactory