Closed GoogleCodeExporter closed 8 years ago
rather than having to type all this: jsPlumb.Defaults.Anchors = [ sourceAnchors, "TopCenter" ]; jsPlumb.Defaults.DragOptions = { cursor: "pointer", zIndex:2000 }; jsPlumb.Defaults.EndpointStyles = [{ fillStyle:"#225588" }, { fillStyle:"#558822" }]; jsPlumb.Defaults.Endpoints = [ ["Dot", { radius:7 } ], [ "Dot", { radius:11 } ] ]; it would be nice to be able to do this: jsPlumb.importDefaults({ Anchors:[ sourceAnchors, "TopCenter" ], DragOptions:{ cursor: "pointer", zIndex:2000 }, EndpointStyles:[{ fillStyle:"#225588" }, { fillStyle:"#558822" }], Endpoints: [ ["Dot", { radius:7 } ], [ "Dot", { radius:11 } ] ] });
Original issue reported on code.google.com by simon.po...@gmail.com on 23 Feb 2012 at 12:29
simon.po...@gmail.com
this is now done.
Original comment by simon.po...@gmail.com on 23 Feb 2012 at 12:44
Original issue reported on code.google.com by
simon.po...@gmail.com
on 23 Feb 2012 at 12:29