Options
All
  • Public
  • Public/Protected
  • All
Menu

The Angular module exporting the IfErrorsDirective and ErrorMessagePipe

see

IfErrorsDirective

see

ErrorMessagePipe

Hierarchy

  • NgxEasyErrorsModule

Index

Constructors

Methods

Constructors

constructor

Methods

Static forRoot

  • Factory-function to import the module in your root AppModule. You must pass the class of your ErrorMessageResolver implementation. You may also provide a partial config, to override default behaviour.

    Defaults

    {
      useErrors: 'prioritize',
      showCounter: false,
      joinSeparator: '\n',
      prioritize: []
    }

    Parameters

    • formErrorResolverClass: Type<ErrorMessageResolver>

      the class to use as the ErrorMessageResolver

    • Default value config: Partial<ErrorResolveConfig> = {}

      an optional config to override default behaviour

    Returns ModuleWithProviders

Legend

Generated using TypeDoc