Skip to content

Component a specific part of an element that can be dragged.#273

Open
eschalks wants to merge 1 commit intoSortableJS:masterfrom
eschalks:draggable-handle
Open

Component a specific part of an element that can be dragged.#273
eschalks wants to merge 1 commit intoSortableJS:masterfrom
eschalks:draggable-handle

Conversation

@eschalks
Copy link
Copy Markdown

Added a draggable-handle component that can be used to define handle elements for a draggable.

If defined, these handle elements are the only part within the draggable that can actually be used for dragging.
In other words, this component basically just automagically sets the handle option of Sortable.js.

Not sure whether using a directive instead might be even better because it would allow for easily adding the handle functionality to any existing element and/or component.

@David-Desmaisons
Copy link
Copy Markdown
Member

Hello @eschalks , thanks for the PR.
I like the API. I will need some time to review all changes made.

@pablodegrande pablodegrande mentioned this pull request Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants