W3cubDocs

/Angular

DirectiveWithBindings

Represents a dynamically-created directive with bindings targeting it specifically.

API

interface DirectiveWithBindings<T> {
  type: Type<T>;
  bindings: Binding[];
}

type

Type<T>

Directive type that should be created.

bindings

Binding[]

Bindings that should be applied to the specific directive.

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/DirectiveWithBindings