Skip to content

Support for outerHeight (+innerHeight, outerWidth, innerWidth) #618

Closed
alanhogan opened this Issue Oct 17, 2012 · 5 comments

4 participants

@alanhogan

outerHeight is a useful method from jQuery.

  1. What do the Zepto maintainers think about adding support for these methods?
  2. If its support is not planned, is it recommended to “roll our own” implementation as a Zepto plugin?
@mislav
Collaborator
mislav commented Oct 18, 2012

You should definitely make your own plugin, use it for your needs, and in the meantime contribute that code to Zepto with tests.

@alanhogan

Got it, thank you!

@alanhogan

Haven’t tested it much or anything, but felt I ought to follow up with a link to a gist:
https://gist.github.com/3935463

@Goodwine

@alohan, I have tried it for a bit, and there seems to be an issue in your plugin with the border's size. It's being added twice.

@madrobby madrobby closed this Nov 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.