angularjs - Drag and Drop of list element where the only way to drag element is by an inner element -
- Get link
- X
- Other Apps
I have a line of elements that are ordered. I use the UE-sontable because it's angular Play well with I. I want the secret icon (top and bottom arrows) to be the only element that can start pulling its original element. Basically it is that I
& lt; Ul ui-sortable = "phoneSortableOptions" ng-model = "lead.phoneList" & gt; I am working with & Lt; Li ng- Repeat = "call in lead.phoneList" orderby: 'displayOrder' "> phone The only piece that I want to be dragable
I read through the documentation but only one element Any way to make drag Not found.
Also, if I'm not mistaken, then the UI -Sonable Jquery Sortable
App.directive ('preventDrag', function) () {return {link: function (scope, element, attributes) {element.on ('mousedown', (e) {e.stopPropagation ();}}}}}} ); I was hoping to set up a library, but it is not very bad.
You can also try
- Select user: none; // CSS
- onmousedown = "return false;"
- ondragstart = "return false;"
-
Get link
-
Facebook
-
X
-
Pinterest
-
Email
-
Other Apps
Popular posts from this blog
c - Mpirun hangs when mpi send and recieve is put in a loop -
I was trying to use the program to use mifrewan on 4 node clusters. Distributing node 0 data in nodes 1, 2 and 3. In the program, from '90 'to variable values of' dior 'to be calculated. Therefore the node is distributing data and collecting results in an omitted fashion (for different values of var 'dir') when do {*******} Whereas (dir Loop is given, Mippun is hanging, and no output is found. But when I comment on two {*******} (dir The loop output is obtained for the initial value of variable dir dir = -90 ), and that output is correct. The problem occurs when the loop is given. Can anyone help me in solving this problem. #include "mpi.h" int main (int argc, char * argv []) Float dir = -90; Int rank, nanoprakash; MPI_Status status; MPI_Init (& amp; argc, & argv); MPI_Comm_rank (MPI_COMM_WORLD, & amp; Rank); MPI_Comm_size (MPI_COMM_WORLD, & amp; numprocs); If (rank == 0) {/ / data to begin / / (dest = 1; dest ...
python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -
I can not find anything in the source about using coupons after subscribing to a user's plan. Is it possible to use a coupon to credit a user's membership after initial subscription? If not, what is the best option? Specifically, I want to give a user 100% coupon for that month, when they take 5 [site specific actions]. This is possible, but may not be the best idea. Coupons are currently applied to the stripe, then apply again at the customer level and each client can have a single coupon. So if you are already offering discounts to the coupon, then the customer who is currently in the present will also give up. It also means that if you are using a recently-added multiple subscription capacity, then all of the user's subscription will be ready for the month. Coupons can be set to "Once", only once (as the only name) can be used by any customer, so if this credit can earn more than once, You will have to maintain a 100% discount coupon continuousl...
java - Unable to get JDBC connection in Spring application to MySQL -
मैंने स्प्रिंग में डीबी कॉन्फ़िगरेशन का पालन किया है: & lt; bean id = "dataSource" Class = "org.apache.commons.dbcp.BasicDataSource" नष्ट-विधि = "बंद" & gt; & Lt; प्रॉपर्टी नाम = "url" मान = "jdbc: dburl" / & gt; & Lt; संपत्ति नाम = "driverClassName" मान = "com.mysql.jdbc.Driver" / & gt; & Lt; संपत्ति नाम = "उपयोगकर्ता नाम" मान = "उपयोगकर्ता नाम" / & gt; & Lt; संपत्ति नाम = "पासवर्ड" मान = "पासवॉर्फ" / & gt; & Lt; प्रॉपर्टी नाम = "हटाए गए हटाए गए" मान = "सही" / & gt; & Lt; गुण नाम = "प्रारंभिक आकार" मान = "3" / & gt; & Lt; संपत्ति नाम = "अधिकतमअक्टिव" मान = "5" / & gt; & Lt; / सेम & gt; डीबी से गुण मूल्यों को लोड करने के लिए अतिरिक्त कॉन्फ़िगरेशन। & lt; bean id = "config1" class = "org.apache.commons.configuration....
Comments
Post a Comment