コード例 #1
0
        private async Task OnDragStartHandler()
        {
            if (ParentContainer == null)
            {
                return;
            }

            dragging = true;

            ParentContainer.StartTransaction(Item, ZoneName, OnDroppedSucceeded, OnDroppedCanceled);

            await DragStarted.InvokeAsync();
        }
コード例 #2
0
        // Dragging Methods - on drag start this will callback to the parent component to let it know which child component is being dragged

        //then it

        async Task DragStart()
        {
            await DragStarted.InvokeAsync(Exercise);

            DragClass = "dragging";
        }