To be a real plugin
Closed this issue · 2 comments
Hi, my suggestion to be a real plugin it should work this way.
$("#mydiv").eventmove()({
containment: "parent",
drag: true,
rotate: true,
resize: true,
keepratio: true,
ect: true,
});
You misunderstand what it is for. It is not supposed to be a standard
plugin. It is supposed to be an event, to help with evented programming.
It's more low-level.
If you want to wrap some evented logic into a plugin and publish it, you
are welcome to do so.
On 24 Dec 2013 17:17, "Gino" notifications@github.com wrote:
Hi, my suggestion to be a real plugin it should work this way.
$("#mydiv").eventmove()({
containment: "parent",
rotate: true,
rotate: true,});
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/20
.
Ok i see, but a plugin would be great, even if i make it work like i wanted on my website but it get complex if you want many instance.
Regard