Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDirective<TScope, TElement, TAttributes, TController>

Type parameters

Hierarchy

  • IDirective

Index

Properties

Optional bindToController

bindToController: boolean | {}

Deprecation warning: although bindings for non-ES6 class controllers are currently bound to this before the controller constructor is called, this use is now deprecated. Please place initialization code that relies upon bindings inside a $onInit method on the controller, instead.

Optional compile

compile: IDirectiveCompileFn<TScope, TElement, TAttributes, TController>

Optional controller

controller: string | Injectable<IControllerConstructor>

Optional controllerAs

controllerAs: string

Optional link

link: IDirectiveLinkFn<TScope, TElement, TAttributes, TController> | IDirectivePrePost<TScope, TElement, TAttributes, TController>

Optional multiElement

multiElement: boolean

Optional priority

priority: number

Optional replace

replace: boolean
deprecated

Optional require

require: string | string[] | {}

Optional restrict

restrict: string

Optional scope

scope: boolean | {}

Optional template

template: string | ((tElement: TElement, tAttrs: TAttributes) => string)

Optional templateNamespace

templateNamespace: string

Optional templateUrl

templateUrl: string | ((tElement: TElement, tAttrs: TAttributes) => string)

Optional terminal

terminal: boolean

Optional transclude

transclude: boolean | "element" | {}

Generated using TypeDoc