Event argument class containing information about which IModelItem the mouse is currently hovering over.
Inheritance Hierarchy
EventArgs
HoveredItemChangedEventArgs
Remarks
This event is used by the HoveredItemChanged event. The item property yields the item that is currently being hovered over or
null
if the mouse just left an item without hovering over an other one. The oldItem property provides the previously hovered item or null
if the mouse wasn't previously hovering over a valid item.Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.input.HoveredItemChangedEventArgs
Constructors
Initializes a new instance of the HoveredItemChangedEventArgs class.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- item - IModelItem
- The model item, possibly
null
. - oldItem - IModelItem
- The old item, possibly
null
.
Properties
Gets the item that is currently hovered or null
if no item is hovered.
Gets or sets the item that was previously hovered, possibly null
.