Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Task

Hierarchy

Index

Constructors

Methods

Constructors

constructor

  • new Task(endpoint: any): Task
  • Parameters

    • endpoint: any

    Returns Task

Methods

Static addInitHook

  • addInitHook(methodName: string, ...args: any[]): void
  • You can also use the following shortcut when you just need to make one additional method call.

    Parameters

    • methodName: string
    • Rest ...args: any[]

    Returns void

Static extend

  • You use L.Class.extend to define new classes, but you can use the same method on any class to inherit from it.

    Parameters

    Returns any