Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use this inner a div? #11

Closed
dpy1123 opened this issue Dec 10, 2013 · 2 comments
Closed

Can I use this inner a div? #11

dpy1123 opened this issue Dec 10, 2013 · 2 comments

Comments

@dpy1123
Copy link

dpy1123 commented Dec 10, 2013

Hi, there. I`m looking for a PhotoShop-like ruler frame, and I wanner how to use this inner a div.
Thx for you great job.

@ispringer
Copy link

+1. It would be great if you could optionally specify an arbitrary div to add the rulers to, e.g.:

var evt         = new Event(),
    dragdrop    = new Dragdrop(evt),
    rg          = new RulersGuides(evt, dragdrop, myDiv);

I am working on a WYSIWYG HTML editor, and I would like to add rulers to just the editor canvas portion of the page.

@mark-rolich
Copy link
Owner

Possible implementation is described in #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants