draggable layouts from elements. like gridster.js - drag-and-drop

I would like to have a page with draggable elements. Something like this
gridster demo
The only difference is that I would like the user to have the option not only to resize but to hide and show the elements as well. (something like a dashboard)
the closest I came to is this :
angular dashboard but sadly I don't want to use angular.js
I would like to see if you guys know of any libraries like that.
thanks

Related

How to implement a customized spinner to select time in flutter

I am currently trying to implement a time select Widget, it should look something like this:
Image_Link.
And it should work like shown in this video:
https://streamable.com/2y7s65.
I would like to have the design, shown in the picture combined with the wheel in the video to select a specific time.
But I am struggling with this for a while. I know there is a package: flutter_time_picker_spinner, but I count't find any way to customize the spinner in the way I need to (like in the picture: Image_Link )
I hope I gave enough information, if something is still unclear please tell me.
My approach would be download https://github.com/icemanbsi/flutter_time_picker_spinner/blob/master/lib/flutter_time_picker_spinner.dart and style it as you like.
You can use ListWheelScrollView to get the result you are looking for. Style each individual button the way you want and add them as children. From there you can style the ListWheelScrollView to get your desired look.

Custom control for searchnig using leaflet

I need to move functionality for search something on map from normal page to leaflet controls on map. I'm searching for plugin to start with. Is it good idea to use a normal search plugin or it will be difficult to make it look like on the image? Does exist something like the base plugin to make custom controls?
Visualisation
You can use Leaflet.Control.Search, here's an example
If you want to go outside the map, here's another example

What's Wrong With My Gravity Form Drop Down?

I am trying to create a form to put on my website, but it just isn't looking right. Here's what it looks like on Safari. And here's what it looks like on Chrome. And here's what it looks like on Firefox.
I want it to look like this - just a simple, rectangular box. I'm having a hard time finding any information to figure this out.
Just in case it matters, I believe I should mention that these are Product Drop Downs, not the standard drop downs, with CSS code gf_left_third gf_middle_third and gf_right_third. I also used gf_simple_horizontal in the form settings.
How do I get the forms to look like a rectangular box from the default all across the board, regardless of the browser?
Yeah, browsers all have their own default form controls styling. Try downloading a stylesheet like Normalize.css, which you load before any of your stylesheets. It will do what it sounds like, normalizing the differences between browsers so that you get what you expect. But forms can still be tricky.
Here's where you can get a cdn link you can plug right into your index.html: normalize cdn

Is a horizontal for possible with Grommet?

I would like to create a horizontal or inline form with the Grommet React library. I am loving it but either I am missing something, or some simple things like inline forms are not possible with it. Can anyone shed any light on how to achieve the following AirBNB form style with Grommet?
Note: I did try using columns but as soon as the Form element is added, it gets blocky and becomes vertical.
I set a box inside the form with direction='row' then inside it the FormFields.
Here a codepen (:

how to display drop-down in iphone, like in this image

hi
I want to display drop down menu like the one you see in this image http://callingcard.marigoholdings.com/Screenshots.html#1
(below From and To)
How can i create that? Any good tutorial.
Best regards
You will have to use UIPicker for this purpose.This is used as a dropdown whereever needed in iPhone.
Please refer the link below
How to create drop down list box for an iphone app
Thanks
It looks like that app is using a combination of a UIWebView and an html select tag. To do something similar would involve a solid bit of html and javascript hackery, but in essence would be:
Create a UIWebView and inject the appropriate HTML into it to make the dropdown.
User uses dropdown as if it was in mobile safari and picks something.
When you need it, you use a javascript call with stringByEvaluatingJavaScriptFromString: to grab the value of the dropdown by id and pass it back to your code.
There are a few gotchas here, mainly with constructing the dropdown and the webview such that it's big enough to show the expanded dropdown but transparent to see under it when the dropdown is not expanded, it's not scrollable, and that sort of thing.
I wonder if a UIActionsheet might be better ... you could easy make a button to call the sheet. Adding multiple buttons to the sheet transforms it into a table that you can scroll.