1. A system comprising: an instantiation of a design for rendering in a rendering space, said instantiation using an encoding and a processor, said encoding including markup language code and a script; a widget forming a portion of said design and being encoded in said encoding; and an export module for generating said encoding from a specification of said design; wherein an object model event is utilized to (i) sense a change in a rendering space dimension and (ii) change said widget to a predefined state in response to said change.