The associated action with the HTML Element (retrieved through "data-ge-action" data attribute). Default is null.
Optional areaThe identification of the targeted area on an interaction event. Possible value can be 'header', 'body', 'footer'.
Optional areaThe model of the table area the user interacted with.
The CSS class name applied to the target element. Default is an empty string.
The index of the targeted column on an interaction event. Default value is -1.
The type of the HTML Input Element (retrieved through "data-input-type" data attribute). Default is null.
Optional rowThe specific row the user interacted with.
The index of the targeted row on an interaction event. Default value is -1.
Optional valueThe value(s) associated with the HTML Input Element the user interacted with.
The MouseTargetData class is used to process and provide information about user interaction, especially mouse events, with specific areas and elements of a table built using HTML Div elements, Span elements, and Input elements.
The class encapsulates different types of data related to the element on which an event was targeted. Data such as the targeted row and column indices, the area on the table identified (header, body, or footer), the model of the table area the user interacted with, attributes of the HTML Input Element (value and type), associated action, content row, and CSS class applied to the element.
The constructor expects an
EventTargetandTableScopeobjects as parameters - data encapsulated in theEventTargetobject will be used to populate the properties of theMouseTargetDataobject.Example