Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LinqBannerService

Index

Constructors

Properties

context: string = 'root'
events$: Observable<LinqBannerMessage[]> = ...
messages: LinqBannerMessage[] = []
messages$: Subject<LinqBannerMessage[]> = ...

Methods

  • Clear either a single item from the message list or clear all the messages which match the provided variant. Clear one - this.feedback.clear('abc'); Clear all errors - this.feedback.clear(undefined, 'error');

    Parameters

    • removeId: string = undefined

      optional id of the message to remove

    • variant: LinqBannerVariant = 'error'

      if no id is provided clear all matching variants

    • context: string = 'root'

    Returns void

  • clearAll(): void
  • Clear all the message regardless of the context. Set the internal context to root when route changes. Used when a route changes, see app.component.ts

    Returns void

  • Parameters

    Returns string

  • setContext(context: string): void
  • Parameters

    • context: string

    Returns void

  • Parameters

    Returns string

Generated using TypeDoc