From 52e1f93e4a1b95d94634a88ceda1cef16645233d Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 3 Jul 2015 11:55:36 -0400 Subject: [PATCH] Be a bit more clear about what the width/height settings are for --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 85d8940..fde8291 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,8 @@ The plugin scales an element to the minimum size required for it to be completel window.onload = function() { var contain = new ContainElement({ id: 'element', // the id of the element to be contained - width: '100', // (optional) element width in pixels (unset: element width) - height: '100', // (optional) element height in pixels (unset: element height) + width: '100', // (optional) native element width in pixels (unset: detected element width) + height: '100', // (optional) native element height in pixels (unset: detected element height) valign: 'top', // (optional) vertical alignment: top|bottom (unset: center) halign: 'left' // (optional) horizontal alignment: left|right (unset: center) });