Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PolygonDirective<T, P>

Angular2 directive for Leaflet polygons.

You can use this directive in an Angular2 template after importing YagaModule.

How to use in a template:

<yaga-map>
    <yaga-polygon
        [(display)]="..."
        [(stroke)]="..."
        [(color)]="..."
        [(weight)]="..."
        [(opacity)]="..."
        [(lineCap)]="..."
        [(lineJoin)]="..."
        [(dashArray)]="..."
        [(dashOffset)]="..."
        [(fill)]="..."
        [(fillColor)]="..."
        [(fillOpacity)]="..."
        [(fillRule)]="..."
        [(renderer)]="..."
        [(className)]="..."
        [(style)]="..."
        [(latLngs)]="..."
        [(geoJSON)]="..."

        (add)="..."
        (remove)="..."
        (popupopen)="..."
        (popupclose)="..."
        (tooltipopen)="..."
        (tooltipclose)="..."
        (click)="..."
        (dblclick)="..."
        (mousedown)="..."
        (mouseover)="..."
        (mouseout)="..."
        (contextmenu)="..."

        [interactive]="..."
        [smoothFactor]="..."
        [noClip]="..."
        [properties]="..."
        >
    </yaga-polygon>
</yaga-map>
link

http://leafletjs.com/reference-1.2.0.html#polygon Original Leaflet documentation

link

https://leaflet-ng2.yagajs.org/1.0.0/browser-test?grep=Rectangle%20Directive Unit-Test

link

https://leaflet-ng2.yagajs.org/1.0.0/coverage/lcov-report/lib/polygon.directive.js.html Test coverage

link

https://leaflet-ng2.yagajs.org/1.0.0/typedoc/classes/polygondirective.html API documentation

example

https://leaflet-ng2.yagajs.org/1.0.0/examples/polygon-directive

Type parameters

  • T

  • P

Hierarchy

  • Polygon
    • PolygonDirective

Implements

  • OnDestroy

Index

Constructors

constructor

Properties

Protected _map

_map: Map

addEvent

addEvent: EventEmitter<LeafletEvent> = new EventEmitter()

From leaflet fired add event. Use it with <yaga-polygon (add)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-add Original Leaflet documentation

classNameChange

classNameChange: EventEmitter<string> = new EventEmitter()

Two-Way bound property for the className of the geometry. Use it with <yaga-polygon [(className)]="someValue"> or <yaga-polygon (classNameChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-classname Original Leaflet documentation

clickEvent

clickEvent: EventEmitter<LeafletMouseEvent> = new EventEmitter()

From leaflet fired click event. Use it with <yaga-polygon (click)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-click Original Leaflet documentation

colorChange

colorChange: EventEmitter<string> = new EventEmitter()

Two-Way bound property for the line-color of the geometry. Use it with <yaga-polygon [(color)]="someValue"> or <yaga-polygon (colorChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-color Original Leaflet documentation

contextmenuEvent

contextmenuEvent: EventEmitter<LeafletMouseEvent> = new EventEmitter()

From leaflet fired contextmenu event. Use it with <yaga-polygon (contextmenu)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-contextmenu Original Leaflet documentation

dashArrayChange

dashArrayChange: EventEmitter<string> = new EventEmitter()

Two-Way bound property for the dashArray of the geometry. Use it with <yaga-polygon [(dashArray)]="someValue"> or <yaga-polygon (dashArrayChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-dasharray Original Leaflet documentation

dashOffsetChange

dashOffsetChange: EventEmitter<string> = new EventEmitter()

Two-Way bound property for the dashOffset of the geometry. Use it with <yaga-polygon [(dashOffset)]="someValue"> or <yaga-polygon (dashOffsetChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-dashoffset Original Leaflet documentation

dblclickEvent

dblclickEvent: EventEmitter<LeafletMouseEvent> = new EventEmitter()

From leaflet fired dblclick event. Use it with <yaga-polygon (dblclick)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-dblclick Original Leaflet documentation

displayChange

displayChange: EventEmitter<boolean> = new EventEmitter()

Two-Way bound property for the display status of the geometry. Use it with <yaga-polygon [(display)]="someValue"> or <yaga-polygon (displayChange)="processEvent($event)">

feature

feature: GeoJSONFeature<GeoJSONPolygon>

fillChange

fillChange: EventEmitter<boolean> = new EventEmitter()

Two-Way bound property for the fill state of the geometry. Use it with <yaga-polygon [(fill)]="someValue"> or <yaga-polygon (fillChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-fill Original Leaflet documentation

fillColorChange

fillColorChange: EventEmitter<string> = new EventEmitter()

Two-Way bound property for the fill-color of the geometry. Use it with <yaga-polygon [(fillColor)]="someValue"> or <yaga-polygon (fillColorChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-fillcolor Original Leaflet documentation

fillOpacityChange

fillOpacityChange: EventEmitter<number> = new EventEmitter()

Two-Way bound property for the fill-opacity of the geometry. Use it with <yaga-polygon [(fillOpacity)]="someValue"> or <yaga-polygon (fillOpacityChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-fillopacity Original Leaflet documentation

fillRuleChange

fillRuleChange: EventEmitter<string> = new EventEmitter()

Two-Way bound property for the fill-rule of the geometry. Use it with <yaga-polygon [(fillRule)]="someValue"> or <yaga-polygon (fillRuleChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-fillrule Original Leaflet documentation

geoJSONChange

geoJSONChange: EventEmitter<GeoJSONFeature<Polygon | MultiPolygon, T>> = new EventEmitter()

Two-Way bound property for the corresponding GeoJSON. Use it with <yaga-polygon [(geoJSON)]="someValue"> or <yaga-polygon (geoJSONChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.3.0.html#polygon-togeojson Original Leaflet documentation

latLngsChange

latLngsChange: EventEmitter<LatLng[]> = new EventEmitter()

Two-Way bound property for the array of LatLngs of the geometry. Use it with <yaga-polygon [(latLngs)]="someValue"> or <yaga-polygon (latLngsChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.3.0.html#polygon-setlatlngs Original Leaflet documentation

Protected layerGroupProvider

layerGroupProvider: LayerGroupProvider

lineCapChange

lineCapChange: EventEmitter<string> = new EventEmitter()

Two-Way bound property for the lineCap of the geometry. Use it with <yaga-polygon [(lineCap)]="someValue"> or <yaga-polygon (lineCapChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-linecap Original Leaflet documentation

lineJoinChange

lineJoinChange: EventEmitter<string> = new EventEmitter()

Two-Way bound property for the lineJoin of the geometry. Use it with <yaga-polygon [(lineJoin)]="someValue"> or <yaga-polygon (lineJoinChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-linejoin Original Leaflet documentation

mousedownEvent

mousedownEvent: EventEmitter<LeafletMouseEvent> = new EventEmitter()

From leaflet fired mousedown event. Use it with <yaga-polygon (mousedown)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-mousedown Original Leaflet documentation

mouseoutEvent

mouseoutEvent: EventEmitter<LeafletMouseEvent> = new EventEmitter()

From leaflet fired mouseout event. Use it with <yaga-polygon (mouseout)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-mouseout Original Leaflet documentation

mouseoverEvent

mouseoverEvent: EventEmitter<LeafletMouseEvent> = new EventEmitter()

From leaflet fired mouseover event. Use it with <yaga-polygon (mouseover)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-mouseover Original Leaflet documentation

opacityChange

opacityChange: EventEmitter<number> = new EventEmitter()

Two-Way bound property for the opacity of the geometry. Use it with <yaga-polygon [(opacity)]="someValue"> or <yaga-polygon (opacityChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-opacity Original Leaflet documentation

options

options: PolylineOptions

popupcloseEvent

popupcloseEvent: EventEmitter<PopupEvent> = new EventEmitter()

From leaflet fired popupclose event. Use it with <yaga-polygon (popupclose)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-popupclose Original Leaflet documentation

popupopenEvent

popupopenEvent: EventEmitter<PopupEvent> = new EventEmitter()

From leaflet fired popupopen event. Use it with <yaga-polygon (popupopen)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-popupopen Original Leaflet documentation

removeEvent

removeEvent: EventEmitter<LeafletEvent> = new EventEmitter()

From leaflet fired remove event. Use it with <yaga-polygon (remove)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-remove Original Leaflet documentation

strokeChange

strokeChange: EventEmitter<boolean> = new EventEmitter()

Two-Way bound property for the stroke state of the geometry. Use it with <yaga-polygon [(stroke)]="someValue"> or <yaga-polygon (strokeChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-stroke Original Leaflet documentation

styleChange

styleChange: EventEmitter<PathOptions> = new EventEmitter()

Two-Way bound property for the css-style of the geometry. Use it with <yaga-polygon [(style)]="someValue"> or <yaga-polygon (styleChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-setstyle Original Leaflet documentation

tooltipcloseEvent

tooltipcloseEvent: EventEmitter<TooltipEvent> = new EventEmitter()

From leaflet fired tooltipclose event. Use it with <yaga-polygon (tooltipclose)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-tooltipclose Original Leaflet documentation

tooltipopenEvent

tooltipopenEvent: EventEmitter<TooltipEvent> = new EventEmitter()

From leaflet fired tooltipopen event. Use it with <yaga-polygon (tooltipopen)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-tooltipopen Original Leaflet documentation

weightChange

weightChange: EventEmitter<number> = new EventEmitter()

Two-Way bound property for the weight of the geometry. Use it with <yaga-polygon [(weight)]="someValue"> or <yaga-polygon (weightChange)="processEvent($event)">

link

http://leafletjs.com/reference-1.2.0.html#polygon-weight Original Leaflet documentation

Accessors

className

  • get className(): string | undefined
  • set className(val: string | undefined): void

color

  • get color(): string | undefined
  • set color(val: string | undefined): void

dashArray

  • get dashArray(): string | undefined
  • set dashArray(val: string | undefined): void

dashOffset

  • get dashOffset(): string | undefined
  • set dashOffset(val: string | undefined): void

display

  • get display(): boolean
  • set display(val: boolean): void
  • Two-Way bound property for the display state. Use it with <yaga-polygon [(display)]="someValue"> or <yaga-polygon [display]="someValue">

    Returns boolean

  • Two-Way bound property for the display state. Use it with <yaga-polygon [(display)]="someValue"> or <yaga-polygon [display]="someValue">

    Parameters

    • val: boolean

    Returns void

fill

  • get fill(): boolean
  • set fill(val: boolean): void

fillColor

  • get fillColor(): string | undefined
  • set fillColor(val: string | undefined): void

fillOpacity

  • get fillOpacity(): number | undefined
  • set fillOpacity(val: number | undefined): void

fillRule

  • get fillRule(): FillRule | undefined
  • set fillRule(val: FillRule | undefined): void

geoJSON

  • get geoJSON(): GeoJSONFeature<Polygon | MultiPolygon, T>
  • set geoJSON(val: GeoJSONFeature<Polygon | MultiPolygon, T>): void
  • Two-Way bound property for the corresponding GeoJSON. Use it with <yaga-polygon [(geoJSON)]="someValue"> or <yaga-polygon [geoJSON]="someValue">

    Returns GeoJSONFeature<Polygon | MultiPolygon, T>

  • Two-Way bound property for the corresponding GeoJSON. Use it with <yaga-polygon [(geoJSON)]="someValue"> or <yaga-polygon [geoJSON]="someValue">

    link

    http://leafletjs.com/reference-1.2.0.html#polygon-togeojson Original Leaflet documentation

    Parameters

    • val: GeoJSONFeature<Polygon | MultiPolygon, T>

    Returns void

interactive

  • get interactive(): boolean
  • set interactive(val: boolean): void

latLngs

  • get latLngs(): LatLng[] | LatLng[][] | LatLng[][][]
  • set latLngs(val: LatLng[] | LatLng[][] | LatLng[][][]): void
  • Two-Way bound property for the array of LatLngs for the geometry. Use it with <yaga-polygon [(latLngs)]="someValue"> or <yaga-polygon [latLngs]="someValue">

    Returns LatLng[] | LatLng[][] | LatLng[][][]

  • Two-Way bound property for the array of LatLngs for the geometry. Use it with <yaga-polygon [(latLngs)]="someValue"> or <yaga-polygon [latLngs]="someValue">

    link

    http://leafletjs.com/reference-1.2.0.html#polygon-setbounds Original Leaflet documentation

    Parameters

    • val: LatLng[] | LatLng[][] | LatLng[][][]

    Returns void

lineCap

  • get lineCap(): LineCapShape | undefined
  • set lineCap(val: LineCapShape | undefined): void

lineJoin

  • get lineJoin(): LineJoinShape | undefined
  • set lineJoin(val: LineJoinShape | undefined): void

noClip

  • get noClip(): boolean
  • set noClip(val: boolean): void

opacity

  • get opacity(): number | undefined
  • set opacity(val: number | undefined): void

properties

  • get properties(): T
  • set properties(val: T): void
  • Input for the GeoJSON properties. Use it with <yaga-polygon [properties]="someValue">

    Returns T

  • Input for the GeoJSON properties. Use it with <yaga-polygon [properties]="someValue">

    Parameters

    • val: T

    Returns void

smoothFactor

  • get smoothFactor(): number | undefined
  • set smoothFactor(val: number | undefined): void

stroke

  • get stroke(): boolean
  • set stroke(val: boolean): void

style

  • get style(): PolylineOptions
  • set style(val: PolylineOptions): void

weight

  • get weight(): number | undefined
  • set weight(val: number | undefined): void

Methods

addEventListener

  • addEventListener(type: string, fn: LeafletEventHandlerFn, context?: any): this
  • addEventListener(eventMap: LeafletEventHandlerFnMap): this
  • Alias for on(...)

    Adds a listener function (fn) to a particular event type of the object. You can optionally specify the context of the listener (object the this keyword will point to). You can also pass several space-separated types (e.g. 'click dblclick').

    Parameters

    • type: string
    • fn: LeafletEventHandlerFn
    • Optional context: any

    Returns this

  • Alias for on(...)

    Adds a set of type/listener pairs, e.g. {click: onClick, mousemove: onMouseMove}

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns this

addEventParent

  • addEventParent(obj: Evented): this
  • Adds an event parent - an Evented that will receive propagated events

    Parameters

    • obj: Evented

    Returns this

addLatLng

  • addLatLng(val: Object | LatLng | LatLngLiteral | Array<Object | LatLng | LatLngLiteral>): this

addOneTimeEventListener

  • addOneTimeEventListener(type: string, fn: LeafletEventHandlerFn, context?: any): this
  • addOneTimeEventListener(eventMap: LeafletEventHandlerFnMap): this
  • Alias for once(...)

    Behaves as on(...), except the listener will only get fired once and then removed.

    Parameters

    • type: string
    • fn: LeafletEventHandlerFn
    • Optional context: any

    Returns this

  • Alias for once(...)

    Behaves as on(...), except the listener will only get fired once and then removed.

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns this

addTo

  • addTo(map: Map | LayerGroup): this
  • Parameters

    • map: Map | LayerGroup

    Returns this

Optional beforeAdd

  • beforeAdd(map: Map): this
  • Parameters

    • map: Map

    Returns this

bindPopup

  • bindPopup(content: function | Content | Popup, options?: PopupOptions): this
  • Parameters

    • content: function | Content | Popup
    • Optional options: PopupOptions

    Returns this

bindTooltip

  • bindTooltip(content: function | Tooltip | Content, options?: TooltipOptions): this
  • Parameters

    • content: function | Tooltip | Content
    • Optional options: TooltipOptions

    Returns this

bringToBack

  • bringToBack(): this
  • Returns this

bringToFront

  • bringToFront(): this
  • Returns this

clearAllEventListeners

  • clearAllEventListeners(): this
  • Alias for off()

    Removes all listeners to all events on the object.

    Returns this

closePopup

  • closePopup(): this
  • Returns this

closeTooltip

  • closeTooltip(): this
  • Returns this

fire

  • fire(type: string, data?: any, propagate?: undefined | false | true): this
  • Fires an event of the specified type. You can optionally provide a data object — the first argument of the listener function will contain its properties. The event might can optionally be propagated to event parents.

    Parameters

    • type: string
    • Optional data: any
    • Optional propagate: undefined | false | true

    Returns this

fireEvent

  • fireEvent(type: string, data?: any, propagate?: undefined | false | true): this
  • Alias for fire(...)

    Fires an event of the specified type. You can optionally provide a data object — the first argument of the listener function will contain its properties. The event might can optionally be propagated to event parents.

    Parameters

    • type: string
    • Optional data: any
    • Optional propagate: undefined | false | true

    Returns this

Optional getAttribution

  • getAttribution(): string | null
  • Returns string | null

getBounds

  • getBounds(): LatLngBounds
  • Returns LatLngBounds

getCenter

  • getCenter(): LatLng
  • Returns LatLng

getElement

  • getElement(): Element | undefined
  • Returns Element | undefined

Optional getEvents

  • getEvents(): object
  • Returns object

    • [name: string]: function
        • (event: LeafletEvent): void
        • Parameters

          • event: LeafletEvent

          Returns void

getLatLngs

  • getLatLngs(): LatLng[] | LatLng[][] | LatLng[][][]
  • Returns LatLng[] | LatLng[][] | LatLng[][][]

getPane

  • getPane(name?: undefined | string): HTMLElement | undefined
  • Parameters

    • Optional name: undefined | string

    Returns HTMLElement | undefined

getPopup

  • getPopup(): Popup | undefined
  • Returns Popup | undefined

getTooltip

  • getTooltip(): Tooltip | undefined
  • Returns Tooltip | undefined

hasEventListeners

  • hasEventListeners(type: string): boolean
  • Alias for listens(...)

    Returns true if a particular event type has any listeners attached to it.

    Parameters

    • type: string

    Returns boolean

isEmpty

  • isEmpty(): boolean
  • Returns boolean

isPopupOpen

  • isPopupOpen(): boolean
  • Returns boolean

isTooltipOpen

  • isTooltipOpen(): boolean
  • Returns boolean

listens

  • listens(type: string): boolean
  • Returns true if a particular event type has any listeners attached to it.

    Parameters

    • type: string

    Returns boolean

ngOnDestroy

  • ngOnDestroy(): void
  • Internal method to provide the removal of the layer in Leaflet, when removing it from the Angular template

    Returns void

off

  • off(type: string, fn?: LeafletEventHandlerFn, context?: any): this
  • off(eventMap: LeafletEventHandlerFnMap): this
  • off(): this
  • Removes a previously added listener function. If no function is specified, it will remove all the listeners of that particular event from the object. Note that if you passed a custom context to on, you must pass the same context to off in order to remove the listener.

    Parameters

    • type: string
    • Optional fn: LeafletEventHandlerFn
    • Optional context: any

    Returns this

  • Removes a set of type/listener pairs.

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns this

  • Removes all listeners to all events on the object.

    Returns this

on

  • on(type: string, fn: LeafletEventHandlerFn, context?: any): this
  • on(eventMap: LeafletEventHandlerFnMap): this
  • Adds a listener function (fn) to a particular event type of the object. You can optionally specify the context of the listener (object the this keyword will point to). You can also pass several space-separated types (e.g. 'click dblclick').

    Parameters

    • type: string
    • fn: LeafletEventHandlerFn
    • Optional context: any

    Returns this

  • Adds a set of type/listener pairs, e.g. {click: onClick, mousemove: onMouseMove}

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns this

onAdd

  • onAdd(map: Map): this
  • Parameters

    • map: Map

    Returns this

onRemove

  • onRemove(map: Map): this
  • Parameters

    • map: Map

    Returns this

once

  • once(type: string, fn: LeafletEventHandlerFn, context?: any): this
  • once(eventMap: LeafletEventHandlerFnMap): this
  • Behaves as on(...), except the listener will only get fired once and then removed.

    Parameters

    • type: string
    • fn: LeafletEventHandlerFn
    • Optional context: any

    Returns this

  • Behaves as on(...), except the listener will only get fired once and then removed.

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns this

openPopup

  • openPopup(latlng?: LatLngExpression): this
  • Parameters

    • Optional latlng: LatLngExpression

    Returns this

openTooltip

  • openTooltip(latlng?: LatLngExpression): this
  • Parameters

    • Optional latlng: LatLngExpression

    Returns this

redraw

  • redraw(): this
  • Returns this

remove

  • remove(): this
  • Returns this

removeEventListener

  • removeEventListener(type: string, fn: LeafletEventHandlerFn, context?: any): this
  • removeEventListener(eventMap: LeafletEventHandlerFnMap): this
  • Alias for off(...)

    Removes a previously added listener function. If no function is specified, it will remove all the listeners of that particular event from the object. Note that if you passed a custom context to on, you must pass the same context to off in order to remove the listener.

    Parameters

    • type: string
    • fn: LeafletEventHandlerFn
    • Optional context: any

    Returns this

  • Alias for off(...)

    Removes a set of type/listener pairs.

    Parameters

    • eventMap: LeafletEventHandlerFnMap

    Returns this

removeEventParent

  • removeEventParent(obj: Evented): this
  • Removes an event parent, so it will stop receiving propagated events

    Parameters

    • obj: Evented

    Returns this

removeFrom

  • removeFrom(map: Map): this
  • Parameters

    • map: Map

    Returns this

setLatLngs

  • setLatLngs(val: (Object | LatLng | LatLngLiteral)[] | (Object | LatLng | LatLngLiteral)[][] | (Object | LatLng | LatLngLiteral)[][][]): this

setPopupContent

  • setPopupContent(content: Content | Popup): this
  • Parameters

    • content: Content | Popup

    Returns this

setStyle

  • setStyle(style: PathOptions): this

setTooltipContent

  • setTooltipContent(content: Content | Tooltip): this
  • Parameters

    • content: Content | Tooltip

    Returns this

toGeoJSON

  • toGeoJSON(): Feature<Polygon | MultiPolygon, P>
  • Returns Feature<Polygon | MultiPolygon, P>

togglePopup

  • togglePopup(): this
  • Returns this

toggleTooltip

  • toggleTooltip(): this
  • Returns this

unbindPopup

  • unbindPopup(): this
  • Returns this

unbindTooltip

  • unbindTooltip(): this
  • Returns this

Static addInitHook

  • addInitHook(initHookFn: function): any & Class
  • addInitHook(methodName: string, ...args: any[]): any & Class
  • Parameters

    • initHookFn: function
        • (): void
        • Returns void

    Returns any & Class

  • Parameters

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

    Returns any & Class

Static extend

  • extend(props: any): object & Class
  • Parameters

    • props: any

    Returns object & Class

Static include

  • include(props: any): any & Class
  • Parameters

    • props: any

    Returns any & Class

Static mergeOptions

  • mergeOptions(props: any): any & Class
  • Parameters

    • props: any

    Returns any & Class

Generated using TypeDoc