Issue #713Opened January 5, 2018by austinbiggs0 reactions

Restrict Droppable Components to specific Component Types

Question

So the wording of this may seem confusing, but essentially I'm trying to use gjs-droppable="" the same way one would use gjs-draggable="".

So if gjs-droppable="li.feature" was set on <ul>, then only items matching the selector could be dropped within the <ul>.

Answers (2)

austinbiggsJanuary 5, 20180 reactions

This already works as detailed above, I just had an error in my code originally preventing it from working correctly!

lock[bot]September 18, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.