Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICompileProvider

Hierarchy

Index

Properties

$get

$get: any

Methods

aHrefSanitizationTrustedUrlList

  • aHrefSanitizationTrustedUrlList(): RegExp
  • aHrefSanitizationTrustedUrlList(regexp: RegExp): ICompileProvider
  • Returns RegExp

  • Parameters

    • regexp: RegExp

    Returns ICompileProvider

aHrefSanitizationWhitelist

  • aHrefSanitizationWhitelist(): RegExp
  • aHrefSanitizationWhitelist(regexp: RegExp): ICompileProvider
  • deprecated

    The old name of aHrefSanitizationTrustedUrlList. Kept for compatibility.

    Returns RegExp

  • deprecated

    The old name of aHrefSanitizationTrustedUrlList. Kept for compatibility.

    Parameters

    • regexp: RegExp

    Returns ICompileProvider

commentDirectivesEnabled

  • commentDirectivesEnabled(): boolean
  • commentDirectivesEnabled(enabled: boolean): ICompileProvider
  • It indicates to the compiler whether or not directives on comments should be compiled. It results in a compilation performance gain since the compiler doesn't have to check comments when looking for directives. Defaults to true. See: https://docs.angularjs.org/api/ng/provider/$compileProvider#commentDirectivesEnabled

    Returns boolean

  • Parameters

    • enabled: boolean

    Returns ICompileProvider

component

  • Parameters

    Returns ICompileProvider

  • Parameters

    Returns ICompileProvider

cssClassDirectivesEnabled

  • cssClassDirectivesEnabled(): boolean
  • cssClassDirectivesEnabled(enabled: boolean): ICompileProvider
  • It indicates to the compiler whether or not directives on element classes should be compiled. It results in a compilation performance gain since the compiler doesn't have to check element classes when looking for directives. Defaults to true. See: https://docs.angularjs.org/api/ng/provider/$compileProvider#cssClassDirectivesEnabled

    Returns boolean

  • Parameters

    • enabled: boolean

    Returns ICompileProvider

debugInfoEnabled

  • debugInfoEnabled(): boolean
  • debugInfoEnabled(enabled: boolean): ICompileProvider
  • Returns boolean

  • Parameters

    • enabled: boolean

    Returns ICompileProvider

directive

imgSrcSanitizationTrustedUrlList

  • imgSrcSanitizationTrustedUrlList(): RegExp
  • imgSrcSanitizationTrustedUrlList(regexp: RegExp): ICompileProvider
  • Returns RegExp

  • Parameters

    • regexp: RegExp

    Returns ICompileProvider

imgSrcSanitizationWhitelist

  • imgSrcSanitizationWhitelist(): RegExp
  • imgSrcSanitizationWhitelist(regexp: RegExp): ICompileProvider
  • deprecated

    The old name of imgSrcSanitizationTrustedUrlList. Kept for compatibility.

    Returns RegExp

  • deprecated

    The old name of imgSrcSanitizationTrustedUrlList. Kept for compatibility.

    Parameters

    • regexp: RegExp

    Returns ICompileProvider

onChangesTtl

  • Sets the number of times $onChanges hooks can trigger new changes before giving up and assuming that the model is unstable. Increasing the TTL could have performance implications, so you should not change it without proper justification. Default: 10. See: https://docs.angularjs.org/api/ng/provider/$compileProvider#onChangesTtl

    Returns number

  • Parameters

    • limit: number

    Returns ICompileProvider

preAssignBindingsEnabled

  • preAssignBindingsEnabled(): boolean
  • preAssignBindingsEnabled(enabled: boolean): ICompileProvider
  • Call this method to enable/disable whether directive controllers are assigned bindings before calling the controller's constructor. If enabled (true), the compiler assigns the value of each of the bindings to the properties of the controller object before the constructor of this object is called. If disabled (false), the compiler calls the constructor first before assigning bindings. Defaults to false. See: https://docs.angularjs.org/api/ng/provider/$compileProvider#preAssignBindingsEnabled

    Returns boolean

  • Parameters

    • enabled: boolean

    Returns ICompileProvider

strictComponentBindingsEnabled

  • strictComponentBindingsEnabled(): boolean
  • strictComponentBindingsEnabled(enabled: boolean): ICompileProvider
  • Call this method to enable/disable strict component bindings check. If enabled, the compiler will enforce that for all bindings of a component that are not set as optional with ?, an attribute needs to be provided on the component's HTML tag. Defaults to false. See: https://docs.angularjs.org/api/ng/provider/$compileProvider#strictComponentBindingsEnabled

    Returns boolean

  • Parameters

    • enabled: boolean

    Returns ICompileProvider

Generated using TypeDoc