Description

Represents the data every map event provides.

Index

core/abstraction/events/i-google-maps-event-data.ts

Properties

Properties

args
args: any
Type: any

A transformed version of the native arguments provided in the native event. Cleaner, easier to use.

associatedEmitter
associatedEmitter: IGoogleMapsNativeObjectEmittingWrapper<IGoogleMapsNativeObject>
Type: IGoogleMapsNativeObjectEmittingWrapper<IGoogleMapsNativeObject>

The wrapper this event is related to. This is always the inner wrapper of the hooked component.

emitter
emitter: IGoogleMapsNativeObjectEmittingWrapper<IGoogleMapsNativeObject>
Type: IGoogleMapsNativeObjectEmittingWrapper<IGoogleMapsNativeObject>

The wrapper which actually emitted the event. If the component was hooked to its own inner wrapper's events, this will be the inner wrapper. If a component was hooked to events of another wrapper, this will be the other wrapper. In case you need access only to the component's inner wrapper, use associatedEmitter instead.

eventName
eventName: string
Type: string

The name of the triggered event.

nativeArgs
nativeArgs: any
Type: any

The native arguments provided in the native event.

nativeEmitter
nativeEmitter: IGoogleMapsNativeObject
Type: IGoogleMapsNativeObject

The native object which actually emitted the event.

import { IGoogleMapsNativeObjectEmittingWrapper } from '../base/i-google-maps-native-object-emitting-wrapper';
import { IGoogleMapsNativeObject                } from '../native/i-google-maps-native-object';

/**
 * Represents the data every map event provides.
 *
 * @export
 * @interface IGoogleMapsEventData
 */
export interface IGoogleMapsEventData
{
    /** The name of the triggered event. */
    eventName: string;
    /**
     * The wrapper which actually emitted the event. If the component was hooked to its own inner wrapper's events, this will be the inner wrapper.
     * If a component was hooked to events of another wrapper, this will be the other wrapper. In case you need access only to the component's inner wrapper,
     * use `associatedEmitter` instead.
     */
    emitter: IGoogleMapsNativeObjectEmittingWrapper<IGoogleMapsNativeObject>;
    /** The native object which actually emitted the event. */
    nativeEmitter: IGoogleMapsNativeObject;
    /** A transformed version of the native arguments provided in the native event. Cleaner, easier to use. */
    args: any;
    /** The native arguments provided in the native event. */
    nativeArgs: any;
    /** The wrapper this event is related to. This is always the inner wrapper of the hooked component. */
    associatedEmitter: IGoogleMapsNativeObjectEmittingWrapper<IGoogleMapsNativeObject>;
}

results matching ""

    No results matching ""