A new version of our web interface is under development. If you have a SizeUp API key, you're welcome to try it out and let us know what you think.
In your HTML
<head> element, include our script:
(Please do not use
In the HTML
<body>, create a DOM element with an ID in your HTML document where you want the SizeUp widget to appear. During page initialization, or any time you want to install the SizeUp widget into your element, execute:
You can specify these additional arguments for this instance of the widget:
key- your API key (required)
industry- string key of initial industry
place- string key of initial place
page- which SizeUp tool to display initially (possible values:
"poweruser"). If not specified, the widget may select the best tool based on what it knows about the user.
trueif the widget element is allowed to resize itself depending on its content and/or the window dimensions (this is the default).
falseif you want the element to retain its initial width and height, or if you want to control them externally.
Other customized attributes, such as the widget's content and visual appearance, apply to all widgets created for a particular API key. Those cannot be changed at runtime.
This function can throw exceptions for permission denied, auth failure, element not found, unrecognized arguments).
The widget below was generated by the following code: