Once we've created an Elm, we can start manipulating them. Recall from earlier that we stated that an Elm was simply an HTMLElement that DomAPI adds some customs properties and methods to. Let's start looking now at what some of those methods are.
This is not meant to be an exhaustive list of methods available to Elms, but is intended merely to get you aquainted with some of the basics. For a full list, see the documentation on domapi.Elm().
setX( value )
Use this method to set the 'left' attribute of the Elm, relative to its parent element. Note that this and all other methods related to Elms automatically take into account all browser and DTD variations. In other words, they are already aware of any 'boxing' problems related to margins, paddings and borders, and will always faithfully produce whatever you ask of them, regardless of browser quirks.
setY( value )
Used to set the 'top' attribute of the Elm, relative to its parent.
setSize( x-value, y-value )
If you needed to set both the top and left at the same time, then calling setSize can save you some overhead.