You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from another Component template
<li id="form" (onDragStart)="getDraggableId($event)">Form</li>
in typescript file(component) I have this
getDraggableId(event) {
this.gridService.setDraggabledIdGrid(event.mouseEvent.target.id);
console.log("event " + this.gridService.getDraggabledIdGrid());
}
how can I get event.mouseEvent.target.id
I tried to create a service gridService to intermediate between the two components
I need to get an ID of a tag
how can I get event.mouseEvent.target.id
I tried to create a service gridService to intermediate between the two components
but when I call the method getDraggableIdGrid I get undefuned value
The text was updated successfully, but these errors were encountered: