Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EventService

Hierarchy

  • EventService

Index

Constructors

constructor

Properties

_app

_app: Vue

_httpService

_httpService: HTTPService

Accessors

app

  • get app(): Vue
  • set app(app: Vue): any

responseErrorMiddleware

responseMiddleware

Methods

dangerToast

  • dangerToast(message: string): void
  • pops up a danger toast

    Parameters

    • message: string

      the message being shown by the toast

    Returns void

modal

  • modal(message: string, okAction: Function, cancelAction?: Function): void
  • pops up a modal with the given message

    Parameters

    • message: string

      the message being shown by the modal

    • okAction: Function

      the function being used when click on ok

    • Optional cancelAction: Function

    Returns void

successToast

  • successToast(message: string): void
  • pops up a success toast

    Parameters

    • message: string

      the message being shown by the toast

    Returns void

toast

  • toast(message: string, variant: string): void
  • pops up a toast with given message in the given variance

    Parameters

    • message: string

      the message being shown by the toast

    • variant: string

      the toast variant

    Returns void

Generated using TypeDoc