UNPKG

@progress/kendo-angular-map

Version:
36 lines (35 loc) 1.08 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { BaseEvent } from './base-event'; /** * Arguments for the `shapeMouseEnter` event. * Fires when the mouse enters a shape. * * > This event fires reliably only for shapes that have a set fill color. * > You can still set the opacity to 0 so the shapes appear to have no fill. */ export class ShapeMouseEnterEvent extends BaseEvent { /** * The shape layer instance. */ layer; /** * The shape instance. */ shape; /** * The source DOM event instance. */ originalEvent; /** * @hidden */ constructor(e, sender) { super(sender); this.layer = e.layer; this.shape = e.shape; this.originalEvent = e.originalEvent; } }