title: How to snap a draggable upon creation in plain javascript
body: <p>I need to create draggable elements already snapped to a target, I couldn't find any example about it in the documentation, google or here...</p>
  
  <p>I know there's a snapElements array on the widget which contains the available snap targets, and I think the solution may be somewhere over there, but I don't know how to set the draggable to the target programmatically.</p>
  
  <p>Should I trigger some event?</p>