Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

angular material drag and drop only on button

<div class="example-box" cdkDrag>
  I can only be dragged using the handle

  <div class="example-handle" cdkDragHandle>
    <button class="btn move" cdkDragHandle>
      <mat-icon>open_with</mat-icon>
	</button>
  </div>
</div>
Source by material.angular.io #
 
PREVIOUS NEXT
Tagged: #angular #material #drag #drop #button
ADD COMMENT
Topic
Name
7+2 =