Module:libextPackage:wrap.extParent:FxCopyright (c) 2007, 2008 Point5U, LLC
Milescript - ExtJS Wrapper Library: Project Home | Documentation

wrap.ext.Element

Inheritance : Object : Fx

Constructors

Signature
public Element(String id)
public Element(HTMLElement element)
public Element(HTMLElement element, boolean forceNew)
public Element(String id, boolean forceNew)

Methods

NameSignature
addClassElement addClass(String className)
addClassElement addClass(Array<String> className)
addClassOnClickElement addClassOnClick(String className)
addClassOnFocusElement addClassOnFocus(String className)
addClassOnOverElement addClassOnOver(String className)
addClassOnOverElement addClassOnOver(String className, boolean preventFlicker)
addKeyListenerKeyMap addKeyListener(KeyMapOptions numbers, Function fn)
addKeyListenerKeyMap addKeyListener(Array<int> numbers, Function fn)
addKeyListenerKeyMap addKeyListener(int number, Function fn)
addKeyListenerKeyMap addKeyListener(String numbers, Function fn)
addKeyListenerKeyMap addKeyListener(Array<int> numbers, Function fn, Object scope)
addKeyListenerKeyMap addKeyListener(int number, Function fn, Object scope)
addKeyListenerKeyMap addKeyListener(String numbers, Function fn, Object scope)
addKeyListenerKeyMap addKeyListener(KeyMapOptions numbers, Function fn, Object scope)
addKeyMapKeyMap addKeyMap(KeyMapOptions config)
addListenervoid addListener(String eventName, Function fn)
addListenervoid addListener(String eventName, Function fn, Object scope)
addListenervoid addListener(String eventName, Function fn, Object scope, ElementListenerOptions options)
alignToElement alignTo(Element element)
alignToElement alignTo(HTMLElement element)
alignToElement alignTo(Element element, String position)
alignToElement alignTo(HTMLElement element, String position)
alignToElement alignTo(Element element, String position, Array<int> offsets)
alignToElement alignTo(HTMLElement element, String position, Array<int> offsets)
alignToElement alignTo(HTMLElement element, String position, Array<int> offsets, ElementAnimationOptions animate)
alignToElement alignTo(Element element, String position, Array<int> offsets, ElementAnimationOptions animate)
alignToElement alignTo(HTMLElement element, String position, Array<int> offsets, boolean animate)
alignToElement alignTo(Element element, String position, Array<int> offsets, boolean animate)
anchorToElement anchorTo(Element element, Function callback)
anchorToElement anchorTo(HTMLElement element, Function callback)
anchorToElement anchorTo(Element element, String position, Function callback)
anchorToElement anchorTo(HTMLElement element, String position, Function callback)
anchorToElement anchorTo(HTMLElement element, String position, Array<int> offsets, Function callback)
anchorToElement anchorTo(Element element, String position, Array<int> offsets, Function callback)
anchorToElement anchorTo(HTMLElement element, String position, Array<int> offsets, boolean animate, Function callback)
anchorToElement anchorTo(HTMLElement element, String position, Array<int> offsets, ElementAnimationOptions animate, Function callback)
anchorToElement anchorTo(Element element, String position, Array<int> offsets, boolean animate, Function callback)
anchorToElement anchorTo(Element element, String position, Array<int> offsets, ElementAnimationOptions animate, Function callback)
anchorToElement anchorTo(Element element, String position, Array<int> offsets, ElementAnimationOptions animate, boolean monitorScroll, Function callback)
anchorToElement anchorTo(Element element, String position, Array<int> offsets, boolean animate, boolean monitorScroll, Function callback)
anchorToElement anchorTo(Element element, String position, Array<int> offsets, ElementAnimationOptions animate, int monitorScroll, Function callback)
anchorToElement anchorTo(HTMLElement element, String position, Array<int> offsets, ElementAnimationOptions animate, boolean monitorScroll, Function callback)
anchorToElement anchorTo(HTMLElement element, String position, Array<int> offsets, boolean animate, int monitorScroll, Function callback)
anchorToElement anchorTo(Element element, String position, Array<int> offsets, boolean animate, int monitorScroll, Function callback)
anchorToElement anchorTo(HTMLElement element, String position, Array<int> offsets, ElementAnimationOptions animate, int monitorScroll, Function callback)
anchorToElement anchorTo(HTMLElement element, String position, Array<int> offsets, boolean animate, boolean monitorScroll, Function callback)
animateElement animate(ElementAnimationOptions args)
animateElement animate(ElementAnimationOptions args, float duration)
animateElement animate(ElementAnimationOptions args, float duration, Function onComplete)
animateElement animate(ElementAnimationOptions args, float duration, Function onComplete, String easing)
animateElement animate(ElementAnimationOptions args, float duration, Function onComplete, String easing, String animType)
appendChildElement appendChild(CompositeElement el)
appendChildElement appendChild(Array<Object> el)
appendChildElement appendChild(HTMLElement el)
appendChildElement appendChild(Element el)
appendChildElement appendChild(String el)
appendToElement appendTo(String el)
appendToElement appendTo(CompositeElement el)
appendToElement appendTo(Array<Object> el)
appendToElement appendTo(HTMLElement el)
appendToElement appendTo(Element el)
applyStylesElement applyStyles(CSSStyle styles)
applyStylesElement applyStyles(Function styles)
applyStylesElement applyStyles(String styles)
applyStylesElement applyStyles(HTMLStyle styles)
autoHeightElement autoHeight()
autoHeightElement autoHeight(boolean animate)
autoHeightElement autoHeight(boolean animate, float duration)
autoHeightElement autoHeight(boolean animate, float duration, Function onComplete)
autoHeightElement autoHeight(boolean animate, float duration, Function onComplete, String easing)
blurElement blur()
boxWrapElement boxWrap()
boxWrapElement boxWrap(String className)
centervoid center()
centervoid center(Element el)
centervoid center(CompositeElement el)
centervoid center(Array<Object> el)
centervoid center(HTMLElement el)
centervoid center(String el)
childElement child(String selector)
childHTMLElement child(String selector, boolean returnDom)
cleanvoid clean()
cleanvoid clean(boolean forceReclean)
clearOpacityElement clearOpacity()
clearPositioningElement clearPositioning()
clearPositioningElement clearPositioning(String value)
clipElement clip()
containsboolean contains(String el)
containsboolean contains(HTMLElement el)
createChildElement createChild(DomHelperOptions config)
createChildElement createChild(DomHelperOptions config, HTMLElement insertBefore)
createChildHTMLElement createChild(DomHelperOptions config, HTMLElement insertBefore, boolean returnDom)
createProxyElement createProxy(String config)
createProxyElement createProxy(DomHelperOptions config)
createProxyElement createProxy(String config, String renderTo)
createProxyElement createProxy(DomHelperOptions config, String renderTo)
createProxyElement createProxy(String config, HTMLElement renderTo)
createProxyElement createProxy(DomHelperOptions config, HTMLElement renderTo)
createProxyElement createProxy(DomHelperOptions config, String renderTo, boolean matchBox)
createProxyElement createProxy(String config, HTMLElement renderTo, boolean matchBox)
createProxyElement createProxy(DomHelperOptions config, HTMLElement renderTo, boolean matchBox)
createProxyElement createProxy(String config, String renderTo, boolean matchBox)
createShimElement createShim()
downElement down(String selector)
downHTMLElement down(String selector, boolean returnDom)
enableDisplayModeElement enableDisplayMode()
enableDisplayModeElement enableDisplayMode(String display)
findParentHTMLElement findParent(String selector)
findParentHTMLElement findParent(String selector, HTMLElement maxDepth)
findParentHTMLElement findParent(String selector, Element maxDepth)
findParentHTMLElement findParent(String selector, int maxDepth)
findParentElement findParent(String selector, Element maxDepth, boolean returnEl)
findParentElement findParent(String selector, HTMLElement maxDepth, boolean returnEl)
findParentElement findParent(String selector, int maxDepth, boolean returnEl)
findParentNodeHTMLElement findParentNode(String selector)
findParentNodeHTMLElement findParentNode(String selector, HTMLElement maxDepth)
findParentNodeHTMLElement findParentNode(String selector, Element maxDepth)
findParentNodeHTMLElement findParentNode(String selector, int maxDepth)
findParentNodeElement findParentNode(String selector, int maxDepth, boolean returnEl)
findParentNodeElement findParentNode(String selector, HTMLElement maxDepth, boolean returnEl)
findParentNodeElement findParentNode(String selector, Element maxDepth, boolean returnEl)
firstElement first()
firstElement first(String selector)
firstHTMLElement first(String selector, boolean returnDom)
flyElement fly(HTMLElement element)
flyElement fly(String id)
flyElement fly(String id, String named)
flyElement fly(HTMLElement element, String named)
focusElement focus()
getElement get(Element element)
getElement get(String id)
getElement get(HTMLElement element)
getAlignToXYArray<int> getAlignToXY(Element element, String position)
getAlignToXYArray<int> getAlignToXY(HTMLElement element, String position)
getAlignToXYArray<int> getAlignToXY(HTMLElement element, String position, Array<int> offsets)
getAlignToXYArray<int> getAlignToXY(Element element, String position, Array<int> offsets)
getAnchorXYArray<int> getAnchorXY()
getAnchorXYArray<int> getAnchorXY(String anchor)
getAnchorXYArray<int> getAnchorXY(String anchor, boolean local)
getAnchorXYArray<int> getAnchorXY(String anchor, boolean local, Dimension size)
getAttributeNSString getAttributeNS(String namespace, String name)
getBorderWidthint getBorderWidth(String side)
getBottomint getBottom(boolean local)
getBoxBox getBox()
getBoxBox getBox(boolean contentBox)
getBoxBox getBox(boolean contentBox, boolean local)
getCenterXYArray<int> getCenterXY()
getColorString getColor(String attr, String defaultValue)
getColorString getColor(String attr, String defaultValue, String prefix)
getComputedHeightint getComputedHeight()
getComputedWidthint getComputedWidth()
getFrameWidthint getFrameWidth(String sides)
getHeightint getHeight()
getHeightint getHeight(boolean contentHeight)
getLeftint getLeft(boolean local)
getMarginsPadding getMargins()
getMarginsint getMargins(String sides)
getOffsetsToArray<int> getOffsetsTo(HTMLElement element)
getOffsetsToArray<int> getOffsetsTo(Element element)
getPaddingint getPadding(String side)
getPositioningCSSStyle getPositioning()
getRegionRegion getRegion()
getRightint getRight(boolean local)
getScrollPadding getScroll()
getSizeDimension getSize()
getSizeDimension getSize(boolean contentSize)
getStyleString getStyle(String property)
getStylesCSSStyle getStyles(String...)
getTopint getTop(boolean local)
getUpdaterUpdater getUpdater()
getValueString getValue()
getValuefloat getValue(boolean asNumber)
getViewSizeDimension getViewSize()
getWidthint getWidth()
getWidthint getWidth(boolean contentWidth)
getXint getX()
getXYArray<int> getXY()
getYint getY()
hasClassboolean hasClass(String className)
hideElement hide()
hideElement hide(boolean animate)
hideElement hide(ElementAnimationOptions animate)
hoverElement hover(Function overFn, Function outFn)
hoverElement hover(Function overFn, Function outFn, Object scope)
initDDDD initDD(String group)
initDDDD initDD(String group, DDConfig config, Object overrides)
initDDProxyDDProxy initDDProxy(String group, DDProxyConfig config, Object overrides)
initDDTargetDDTarget initDDTarget(String group, DDTargetConfig config, Object overrides)
insertAfterElement insertAfter(Element el)
insertAfterElement insertAfter(HTMLElement el)
insertBeforeElement insertBefore(Element el)
insertBeforeElement insertBefore(HTMLElement el)
insertFirstElement insertFirst(Array<Object> DomHelperConfigObject)
insertFirstElement insertFirst(HTMLElement el)
insertFirstElement insertFirst(Element el)
insertFirstElement insertFirst(String id)
insertHtmlElement insertHtml(String where, String html)
insertHtmlHTMLElement insertHtml(String where, String html, boolean returnEl)
insertSiblingElement insertSibling(Array<Object> DomHelperConfigObject)
insertSiblingElement insertSibling(Element element)
insertSiblingElement insertSibling(Array<String> ids)
insertSiblingElement insertSibling(Array<Element> elements)
insertSiblingElement insertSibling(String id)
insertSiblingElement insertSibling(Array<String> ids, String where)
insertSiblingElement insertSibling(String id, String where)
insertSiblingElement insertSibling(Array<Object> DomHelperConfigObject, String where)
insertSiblingElement insertSibling(Array<Array<Object>> DomHelperConfigObjects, String where)
insertSiblingElement insertSibling(Array<Element> elements, String where)
insertSiblingElement insertSibling(Element element, String where)
insertSiblingHTMLElement insertSibling(Array<Object> DomHelperConfigObject, String where, boolean returnDom)
insertSiblingHTMLElement insertSibling(String id, String where, boolean returnDom)
insertSiblingHTMLElement insertSibling(Element element, String where, boolean returnDom)
insertSiblingHTMLElement insertSibling(Array<Element> elements, String where, boolean returnDom)
insertSiblingHTMLElement insertSibling(Array<String> ids, String where, boolean returnDom)
insertSiblingHTMLElement insertSibling(Array<Array<Object>> DomHelperConfigObjects, String where, boolean returnDom)
isboolean is(String selector)
isBorderBoxboolean isBorderBox()
isDisplayedboolean isDisplayed()
isMaskedboolean isMasked()
isScrollableboolean isScrollable()
isVisibleboolean isVisible()
isVisibleboolean isVisible(boolean deep)
lastElement last()
lastElement last(String selector)
lastHTMLElement last(String selector, boolean returnDom)
loadElement load(String url)
loadElement load(Function url)
loadElement load(String url, String params)
loadElement load(Function url, Object params)
loadElement load(String url, String params, Function callback)
loadElement load(Function url, Object params, Function callback)
loadElement load(String url, String params, Function callback, boolean discardUrl)
loadElement load(Function url, Object params, Function callback, boolean discardUrl)
maskElement mask()
maskElement mask(String msg)
maskElement mask(String msg, String msgCls)
moveElement move(String direction, int distance)
moveElement move(String direction, int distance, boolean animate)
moveElement move(String direction, int distance, Array<Object> animate)
moveToElement moveTo(int x, int y)
moveToElement moveTo(int x, int y, boolean animate)
moveToElement moveTo(int x, int y, Array<Object> animate)
nextElement next()
nextElement next(String selector)
nextHTMLElement next(String selector, boolean returnDom)
onvoid on(String eventName, Function fn)
onvoid on(String eventName, Function fn, Object scope)
onvoid on(String eventName, Function fn, Object scope, Array<Object> options)
positionvoid position()
positionvoid position(String pos)
positionvoid position(String pos, int zIndex)
positionvoid position(String pos, int zIndex, int x)
positionvoid position(String pos, int zIndex, int x, int y)
prevElement prev()
prevElement prev(String selector)
prevHTMLElement prev(String selector, boolean returnDom)
queryArray<Element> query(String selector)
radioClassElement radioClass(String className)
radioClassElement radioClass(Array<String> classNames)
relayEventvoid relayEvent(String eventName, Object eventTarget)
removevoid remove()
removeAllListenersElement removeAllListeners()
removeClassElement removeClass(Array<String> classNames)
removeClassElement removeClass(String className)
removeListenerElement removeListener(String eventName, Function fn)
repaintElement repaint()
replaceElement replace(Element element)
replaceElement replace(HTMLElement element)
replaceElement replace(String id)
replaceClassElement replaceClass(String oldClassName, String newClassName)
replaceWithElement replaceWith(String id)
replaceWithElement replaceWith(HTMLElement element)
replaceWithElement replaceWith(Element element)
scrollboolean scroll(String direction, int distance)
scrollboolean scroll(String direction, int distance, Array<Object> animate)
scrollboolean scroll(String direction, int distance, boolean animate)
scrollIntoViewElement scrollIntoView()
scrollIntoViewElement scrollIntoView(Container container)
scrollIntoViewElement scrollIntoView(Container container, boolean hscroll)
scrollToElement scrollTo(String side, int value)
scrollToElement scrollTo(String side, int value, Array<Object> animate)
scrollToElement scrollTo(String side, int value, boolean animate)
selectCompositeElement select(String selector)
selectCompositeElement select(String selector, boolean unique)
setElement set(Function attributes)
setElement set(CSSStyle attributes)
setElement set(String attributes)
setElement set(CSSStyle attributes, boolean useSet)
setElement set(Function attributes, boolean useSet)
setElement set(String attributes, boolean useSet)
setBottomElement setBottom(String bottom)
setBoundsElement setBounds(int x, int y, int width, int height)
setBoundsElement setBounds(int x, int y, int width, int height, boolean animate)
setBoundsElement setBounds(int x, int y, int width, int height, Array<Object> animate)
setBoxElement setBox(Box box)
setBoxElement setBox(Box box, boolean adjust)
setBoxElement setBox(Box box, boolean adjust, boolean animate)
setBoxElement setBox(Box box, boolean adjust, Array<Object> animate)
setDisplayedElement setDisplayed(String value)
setDisplayedElement setDisplayed(boolean value)
setHeightElement setHeight(int height)
setHeightElement setHeight(String height)
setHeightElement setHeight(int height, boolean animate)
setHeightElement setHeight(int height, Array<Object> animate)
setLeftElement setLeft(String left)
setLeftTopElement setLeftTop(String left, String top)
setLocationElement setLocation(int x, int y)
setLocationElement setLocation(int x, int y, Array<Object> animate)
setLocationElement setLocation(int x, int y, boolean animate)
setOpacityElement setOpacity(float opacity)
setOpacityElement setOpacity(float opacity, boolean animate)
setOpacityElement setOpacity(float opacity, Array<Object> animate)
setPositioningElement setPositioning(CSSStyle posCfg)
setRegionElement setRegion(Region region)
setRegionElement setRegion(Region region, boolean animate)
setRegionElement setRegion(Region region, Array<Object> animate)
setRightElement setRight(String right)
setSizeElement setSize(int width, int height)
setSizeElement setSize(int width, int height, boolean animate)
setSizeElement setSize(int width, int height, Array<Object> animate)
setStyleElement setStyle(CSSStyle attributes)
setStyleElement setStyle(String property, String value)
setTopElement setTop(String top)
setVisibilityModeElement setVisibilityMode(int VISIBILITY_MODE)
setVisibleElement setVisible(boolean visible)
setVisibleElement setVisible(boolean visible, Array<Object> animate)
setVisibleElement setVisible(boolean visible, boolean animate)
setWidthElement setWidth(String width)
setWidthElement setWidth(int width)
setWidthElement setWidth(int width, Array<Object> animate)
setWidthElement setWidth(int width, boolean animate)
setXElement setX(int x)
setXElement setX(int x, boolean animate)
setXElement setX(int x, Array<Object> animate)
setXYElement setXY(Array<int> pos)
setXYElement setXY(Array<int> pos, Array<Object> animate)
setXYElement setXY(Array<int> pos, boolean animate)
setYElement setY(int y)
setYElement setY(int y, boolean animate)
setYElement setY(int y, Array<Object> animate)
showElement show()
showElement show(boolean animate)
showElement show(Array<Object> animate)
swallowEventElement swallowEvent(String eventName)
swallowEventElement swallowEvent(String eventName, boolean preventDefault)
toggleElement toggle()
toggleElement toggle(Array<Object> animate)
toggleElement toggle(boolean animate)
toggleClassElement toggleClass(String className)
translatePointsPadding translatePoints(Array<int> pos)
translatePointsPadding translatePoints(int x, int y)
unElement un(String eventName, Function fn)
unclipElement unclip()
unmaskvoid unmask()
unselectableElement unselectable()
upElement up(String selector)
upElement up(String selector, HTMLElement maxDepth)
upElement up(String selector, int maxDepth)
updateElement update(String html)
updateElement update(String html, Function callback)
updateElement update(String html, boolean loadScripts, Function callback)
wrapElement wrap()
wrapElement wrap(Array<Object> DomHelperConfigObject)
wrapHTMLElement wrap(Array<Object> DomHelperConfigObject, boolean returnDom)

Properties

NameTypeComment
BOTTOM
core.String
BOTTOM_LEFT
core.String
BOTTOM_RIGHT
core.String
CENTER
core.String
ddScrollConfig
wrap.ext.dd.types.DDScrollConfig
defaultUnit
core.String
DISPLAY
core.int
dom
org.milescript.dom.HTMLElement
id
core.String
LEFT
core.String
originalDisplay
core.String
RIGHT
core.String
TOP
core.String
TOP_LEFT
core.String
TOP_RIGHT
core.String
VISIBILITY
core.int

Constructors

public Element(String id)

Parameters

NameTypeDescription
idcore.String



public Element(HTMLElement element)

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement



public Element(HTMLElement element, boolean forceNew)

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
forceNewcore.boolean



public Element(String id, boolean forceNew)

Parameters

NameTypeDescription
idcore.String
forceNewcore.boolean



Methods

addClass

Element addClass(String className)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
classNamecore.String

addClass

Element addClass(Array<String> className)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
classNamecore.Array<core.String>

addClassOnClick

Element addClassOnClick(String className)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
classNamecore.String

addClassOnFocus

Element addClassOnFocus(String className)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
classNamecore.String

addClassOnOver

Element addClassOnOver(String className)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
classNamecore.String

addClassOnOver

Element addClassOnOver(String className, boolean preventFlicker)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
classNamecore.String
preventFlickercore.boolean

addKeyListener

KeyMap addKeyListener(KeyMapOptions numbers, Function fn)

Returns
wrap.ext.KeyMap

Parameters

NameTypeDescription
numberswrap.ext.types.KeyMapOptions
fncore.Function

addKeyListener

KeyMap addKeyListener(Array<int> numbers, Function fn)

Returns
wrap.ext.KeyMap

Parameters

NameTypeDescription
numberscore.Array<core.int>
fncore.Function

addKeyListener

KeyMap addKeyListener(int number, Function fn)

Returns
wrap.ext.KeyMap

Parameters

NameTypeDescription
numbercore.int
fncore.Function

addKeyListener

KeyMap addKeyListener(String numbers, Function fn)

Returns
wrap.ext.KeyMap

Parameters

NameTypeDescription
numberscore.String
fncore.Function

addKeyListener

KeyMap addKeyListener(Array<int> numbers, Function fn, Object scope)

Returns
wrap.ext.KeyMap

Parameters

NameTypeDescription
numberscore.Array<core.int>
fncore.Function
scopecore.Object

addKeyListener

KeyMap addKeyListener(int number, Function fn, Object scope)

Returns
wrap.ext.KeyMap

Parameters

NameTypeDescription
numbercore.int
fncore.Function
scopecore.Object

addKeyListener

KeyMap addKeyListener(String numbers, Function fn, Object scope)

Returns
wrap.ext.KeyMap

Parameters

NameTypeDescription
numberscore.String
fncore.Function
scopecore.Object

addKeyListener

KeyMap addKeyListener(KeyMapOptions numbers, Function fn, Object scope)

Returns
wrap.ext.KeyMap

Parameters

NameTypeDescription
numberswrap.ext.types.KeyMapOptions
fncore.Function
scopecore.Object

addKeyMap

KeyMap addKeyMap(KeyMapOptions config)

Returns
wrap.ext.KeyMap

Parameters

NameTypeDescription
configwrap.ext.types.KeyMapOptions

addListener

void addListener(String eventName, Function fn)

Parameters

NameTypeDescription
eventNamecore.String
fncore.Function

addListener

void addListener(String eventName, Function fn, Object scope)

Parameters

NameTypeDescription
eventNamecore.String
fncore.Function
scopecore.Object

addListener

void addListener(String eventName, Function fn, Object scope, ElementListenerOptions options)

Parameters

NameTypeDescription
eventNamecore.String
fncore.Function
scopecore.Object
optionswrap.ext.types.ElementListenerOptions

alignTo

Element alignTo(Element element)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element

alignTo

Element alignTo(HTMLElement element)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement

alignTo

Element alignTo(Element element, String position)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element
positioncore.String

alignTo

Element alignTo(HTMLElement element, String position)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
positioncore.String

alignTo

Element alignTo(Element element, String position, Array<int> offsets)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element
positioncore.String
offsetscore.Array<core.int>

alignTo

Element alignTo(HTMLElement element, String position, Array<int> offsets)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
positioncore.String
offsetscore.Array<core.int>

alignTo

Element alignTo(HTMLElement element, String position, Array<int> offsets, ElementAnimationOptions animate)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
positioncore.String
offsetscore.Array<core.int>
animatewrap.ext.types.ElementAnimationOptions

alignTo

Element alignTo(Element element, String position, Array<int> offsets, ElementAnimationOptions animate)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element
positioncore.String
offsetscore.Array<core.int>
animatewrap.ext.types.ElementAnimationOptions

alignTo

Element alignTo(HTMLElement element, String position, Array<int> offsets, boolean animate)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
positioncore.String
offsetscore.Array<core.int>
animatecore.boolean

alignTo

Element alignTo(Element element, String position, Array<int> offsets, boolean animate)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element
positioncore.String
offsetscore.Array<core.int>
animatecore.boolean

anchorTo

Element anchorTo(Element element, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element
callbackcore.Function

anchorTo

Element anchorTo(HTMLElement element, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
callbackcore.Function

anchorTo

Element anchorTo(Element element, String position, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element
positioncore.String
callbackcore.Function

anchorTo

Element anchorTo(HTMLElement element, String position, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
positioncore.String
callbackcore.Function

anchorTo

Element anchorTo(HTMLElement element, String position, Array<int> offsets, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
positioncore.String
offsetscore.Array<core.int>
callbackcore.Function

anchorTo

Element anchorTo(Element element, String position, Array<int> offsets, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element
positioncore.String
offsetscore.Array<core.int>
callbackcore.Function

anchorTo

Element anchorTo(HTMLElement element, String position, Array<int> offsets, boolean animate, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
positioncore.String
offsetscore.Array<core.int>
animatecore.boolean
callbackcore.Function

anchorTo

Element anchorTo(HTMLElement element, String position, Array<int> offsets, ElementAnimationOptions animate, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
positioncore.String
offsetscore.Array<core.int>
animatewrap.ext.types.ElementAnimationOptions
callbackcore.Function

anchorTo

Element anchorTo(Element element, String position, Array<int> offsets, boolean animate, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element
positioncore.String
offsetscore.Array<core.int>
animatecore.boolean
callbackcore.Function

anchorTo

Element anchorTo(Element element, String position, Array<int> offsets, ElementAnimationOptions animate, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element
positioncore.String
offsetscore.Array<core.int>
animatewrap.ext.types.ElementAnimationOptions
callbackcore.Function

anchorTo

Element anchorTo(Element element, String position, Array<int> offsets, ElementAnimationOptions animate, boolean monitorScroll, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element
positioncore.String
offsetscore.Array<core.int>
animatewrap.ext.types.ElementAnimationOptions
monitorScrollcore.boolean
callbackcore.Function

anchorTo

Element anchorTo(Element element, String position, Array<int> offsets, boolean animate, boolean monitorScroll, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element
positioncore.String
offsetscore.Array<core.int>
animatecore.boolean
monitorScrollcore.boolean
callbackcore.Function

anchorTo

Element anchorTo(Element element, String position, Array<int> offsets, ElementAnimationOptions animate, int monitorScroll, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element
positioncore.String
offsetscore.Array<core.int>
animatewrap.ext.types.ElementAnimationOptions
monitorScrollcore.int
callbackcore.Function

anchorTo

Element anchorTo(HTMLElement element, String position, Array<int> offsets, ElementAnimationOptions animate, boolean monitorScroll, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
positioncore.String
offsetscore.Array<core.int>
animatewrap.ext.types.ElementAnimationOptions
monitorScrollcore.boolean
callbackcore.Function

anchorTo

Element anchorTo(HTMLElement element, String position, Array<int> offsets, boolean animate, int monitorScroll, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
positioncore.String
offsetscore.Array<core.int>
animatecore.boolean
monitorScrollcore.int
callbackcore.Function

anchorTo

Element anchorTo(Element element, String position, Array<int> offsets, boolean animate, int monitorScroll, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element
positioncore.String
offsetscore.Array<core.int>
animatecore.boolean
monitorScrollcore.int
callbackcore.Function

anchorTo

Element anchorTo(HTMLElement element, String position, Array<int> offsets, ElementAnimationOptions animate, int monitorScroll, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
positioncore.String
offsetscore.Array<core.int>
animatewrap.ext.types.ElementAnimationOptions
monitorScrollcore.int
callbackcore.Function

anchorTo

Element anchorTo(HTMLElement element, String position, Array<int> offsets, boolean animate, boolean monitorScroll, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
positioncore.String
offsetscore.Array<core.int>
animatecore.boolean
monitorScrollcore.boolean
callbackcore.Function

animate

Element animate(ElementAnimationOptions args)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
argswrap.ext.types.ElementAnimationOptions

animate

Element animate(ElementAnimationOptions args, float duration)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
argswrap.ext.types.ElementAnimationOptions
durationcore.float

animate

Element animate(ElementAnimationOptions args, float duration, Function onComplete)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
argswrap.ext.types.ElementAnimationOptions
durationcore.float
onCompletecore.Function

animate

Element animate(ElementAnimationOptions args, float duration, Function onComplete, String easing)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
argswrap.ext.types.ElementAnimationOptions
durationcore.float
onCompletecore.Function
easingcore.String

animate

Element animate(ElementAnimationOptions args, float duration, Function onComplete, String easing, String animType)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
argswrap.ext.types.ElementAnimationOptions
durationcore.float
onCompletecore.Function
easingcore.String
animTypecore.String

appendChild

Element appendChild(CompositeElement el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elwrap.ext.CompositeElement

appendChild

Element appendChild(Array<Object> el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elcore.Array<core.Object>

appendChild

Element appendChild(HTMLElement el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elorg.milescript.dom.HTMLElement

appendChild

Element appendChild(Element el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elwrap.ext.Element

appendChild

Element appendChild(String el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elcore.String

appendTo

Element appendTo(String el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elcore.String

appendTo

Element appendTo(CompositeElement el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elwrap.ext.CompositeElement

appendTo

Element appendTo(Array<Object> el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elcore.Array<core.Object>

appendTo

Element appendTo(HTMLElement el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elorg.milescript.dom.HTMLElement

appendTo

Element appendTo(Element el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elwrap.ext.Element

applyStyles

Element applyStyles(CSSStyle styles)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
stylesorg.milescript.dom.CSSStyle

applyStyles

Element applyStyles(Function styles)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
stylescore.Function

applyStyles

Element applyStyles(String styles)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
stylescore.String

applyStyles

Element applyStyles(HTMLStyle styles)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
stylesorg.milescript.dom.HTMLStyle

autoHeight

Element autoHeight()

Returns
wrap.ext.Element

autoHeight

Element autoHeight(boolean animate)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
animatecore.boolean

autoHeight

Element autoHeight(boolean animate, float duration)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
animatecore.boolean
durationcore.float

autoHeight

Element autoHeight(boolean animate, float duration, Function onComplete)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
animatecore.boolean
durationcore.float
onCompletecore.Function

autoHeight

Element autoHeight(boolean animate, float duration, Function onComplete, String easing)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
animatecore.boolean
durationcore.float
onCompletecore.Function
easingcore.String

blur

Element blur()

Returns
wrap.ext.Element

boxWrap

Element boxWrap()

Returns
wrap.ext.Element

boxWrap

Element boxWrap(String className)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
classNamecore.String

center

void center()


center

void center(Element el)

Parameters

NameTypeDescription
elwrap.ext.Element

center

void center(CompositeElement el)

Parameters

NameTypeDescription
elwrap.ext.CompositeElement

center

void center(Array<Object> el)

Parameters

NameTypeDescription
elcore.Array<core.Object>

center

void center(HTMLElement el)

Parameters

NameTypeDescription
elorg.milescript.dom.HTMLElement

center

void center(String el)

Parameters

NameTypeDescription
elcore.String

child

Element child(String selector)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
selectorcore.String

child

HTMLElement child(String selector, boolean returnDom)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
selectorcore.String
returnDomcore.boolean

clean

void clean()


clean

void clean(boolean forceReclean)

Parameters

NameTypeDescription
forceRecleancore.boolean

clearOpacity

Element clearOpacity()

Returns
wrap.ext.Element

clearPositioning

Element clearPositioning()

Returns
wrap.ext.Element

clearPositioning

Element clearPositioning(String value)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
valuecore.String

clip

Element clip()

Returns
wrap.ext.Element

contains

boolean contains(String el)

Returns
core.boolean

Parameters

NameTypeDescription
elcore.String

contains

boolean contains(HTMLElement el)

Returns
core.boolean

Parameters

NameTypeDescription
elorg.milescript.dom.HTMLElement

createChild

Element createChild(DomHelperOptions config)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
configwrap.ext.types.DomHelperOptions

createChild

Element createChild(DomHelperOptions config, HTMLElement insertBefore)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
configwrap.ext.types.DomHelperOptions
insertBeforeorg.milescript.dom.HTMLElement

createChild

HTMLElement createChild(DomHelperOptions config, HTMLElement insertBefore, boolean returnDom)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
configwrap.ext.types.DomHelperOptions
insertBeforeorg.milescript.dom.HTMLElement
returnDomcore.boolean

createProxy

Element createProxy(String config)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
configcore.String

createProxy

Element createProxy(DomHelperOptions config)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
configwrap.ext.types.DomHelperOptions

createProxy

Element createProxy(String config, String renderTo)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
configcore.String
renderTocore.String

createProxy

Element createProxy(DomHelperOptions config, String renderTo)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
configwrap.ext.types.DomHelperOptions
renderTocore.String

createProxy

Element createProxy(String config, HTMLElement renderTo)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
configcore.String
renderToorg.milescript.dom.HTMLElement

createProxy

Element createProxy(DomHelperOptions config, HTMLElement renderTo)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
configwrap.ext.types.DomHelperOptions
renderToorg.milescript.dom.HTMLElement

createProxy

Element createProxy(DomHelperOptions config, String renderTo, boolean matchBox)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
configwrap.ext.types.DomHelperOptions
renderTocore.String
matchBoxcore.boolean

createProxy

Element createProxy(String config, HTMLElement renderTo, boolean matchBox)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
configcore.String
renderToorg.milescript.dom.HTMLElement
matchBoxcore.boolean

createProxy

Element createProxy(DomHelperOptions config, HTMLElement renderTo, boolean matchBox)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
configwrap.ext.types.DomHelperOptions
renderToorg.milescript.dom.HTMLElement
matchBoxcore.boolean

createProxy

Element createProxy(String config, String renderTo, boolean matchBox)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
configcore.String
renderTocore.String
matchBoxcore.boolean

createShim

Element createShim()

Returns
wrap.ext.Element

down

Element down(String selector)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
selectorcore.String

down

HTMLElement down(String selector, boolean returnDom)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
selectorcore.String
returnDomcore.boolean

enableDisplayMode

Element enableDisplayMode()

Returns
wrap.ext.Element

enableDisplayMode

Element enableDisplayMode(String display)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
displaycore.String

findParent

HTMLElement findParent(String selector)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
selectorcore.String

findParent

HTMLElement findParent(String selector, HTMLElement maxDepth)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
selectorcore.String
maxDepthorg.milescript.dom.HTMLElement

findParent

HTMLElement findParent(String selector, Element maxDepth)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
selectorcore.String
maxDepthwrap.ext.Element

findParent

HTMLElement findParent(String selector, int maxDepth)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
selectorcore.String
maxDepthcore.int

findParent

Element findParent(String selector, Element maxDepth, boolean returnEl)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
selectorcore.String
maxDepthwrap.ext.Element
returnElcore.boolean

findParent

Element findParent(String selector, HTMLElement maxDepth, boolean returnEl)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
selectorcore.String
maxDepthorg.milescript.dom.HTMLElement
returnElcore.boolean

findParent

Element findParent(String selector, int maxDepth, boolean returnEl)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
selectorcore.String
maxDepthcore.int
returnElcore.boolean

findParentNode

HTMLElement findParentNode(String selector)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
selectorcore.String

findParentNode

HTMLElement findParentNode(String selector, HTMLElement maxDepth)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
selectorcore.String
maxDepthorg.milescript.dom.HTMLElement

findParentNode

HTMLElement findParentNode(String selector, Element maxDepth)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
selectorcore.String
maxDepthwrap.ext.Element

findParentNode

HTMLElement findParentNode(String selector, int maxDepth)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
selectorcore.String
maxDepthcore.int

findParentNode

Element findParentNode(String selector, int maxDepth, boolean returnEl)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
selectorcore.String
maxDepthcore.int
returnElcore.boolean

findParentNode

Element findParentNode(String selector, HTMLElement maxDepth, boolean returnEl)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
selectorcore.String
maxDepthorg.milescript.dom.HTMLElement
returnElcore.boolean

findParentNode

Element findParentNode(String selector, Element maxDepth, boolean returnEl)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
selectorcore.String
maxDepthwrap.ext.Element
returnElcore.boolean

first

Element first()

Returns
wrap.ext.Element

first

Element first(String selector)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
selectorcore.String

first

HTMLElement first(String selector, boolean returnDom)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
selectorcore.String
returnDomcore.boolean

fly

Element fly(HTMLElement element)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement

fly

Element fly(String id)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
idcore.String

fly

Element fly(String id, String named)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
idcore.String
namedcore.String

fly

Element fly(HTMLElement element, String named)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
namedcore.String

focus

Element focus()

Returns
wrap.ext.Element

get

Element get(Element element)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element

get

Element get(String id)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
idcore.String

get

Element get(HTMLElement element)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement

getAlignToXY

Array<int> getAlignToXY(Element element, String position)

Returns
core.Array<core.int>

Parameters

NameTypeDescription
elementwrap.ext.Element
positioncore.String

getAlignToXY

Array<int> getAlignToXY(HTMLElement element, String position)

Returns
core.Array<core.int>

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
positioncore.String

getAlignToXY

Array<int> getAlignToXY(HTMLElement element, String position, Array<int> offsets)

Returns
core.Array<core.int>

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement
positioncore.String
offsetscore.Array<core.int>

getAlignToXY

Array<int> getAlignToXY(Element element, String position, Array<int> offsets)

Returns
core.Array<core.int>

Parameters

NameTypeDescription
elementwrap.ext.Element
positioncore.String
offsetscore.Array<core.int>

getAnchorXY

Array<int> getAnchorXY()

Returns
core.Array<core.int>

getAnchorXY

Array<int> getAnchorXY(String anchor)

Returns
core.Array<core.int>

Parameters

NameTypeDescription
anchorcore.String

getAnchorXY

Array<int> getAnchorXY(String anchor, boolean local)

Returns
core.Array<core.int>

Parameters

NameTypeDescription
anchorcore.String
localcore.boolean

getAnchorXY

Array<int> getAnchorXY(String anchor, boolean local, Dimension size)

Returns
core.Array<core.int>

Parameters

NameTypeDescription
anchorcore.String
localcore.boolean
sizeorg.milescript.types.Dimension

getAttributeNS

String getAttributeNS(String namespace, String name)

Returns
core.String

Parameters

NameTypeDescription
namespacecore.String
namecore.String

getBorderWidth

int getBorderWidth(String side)

Returns
core.int

Parameters

NameTypeDescription
sidecore.String

getBottom

int getBottom(boolean local)

Returns
core.int

Parameters

NameTypeDescription
localcore.boolean

getBox

Box getBox()

Returns
org.milescript.types.Box

getBox

Box getBox(boolean contentBox)

Returns
org.milescript.types.Box

Parameters

NameTypeDescription
contentBoxcore.boolean

getBox

Box getBox(boolean contentBox, boolean local)

Returns
org.milescript.types.Box

Parameters

NameTypeDescription
contentBoxcore.boolean
localcore.boolean

getCenterXY

Array<int> getCenterXY()

Returns
core.Array<core.int>

getColor

String getColor(String attr, String defaultValue)

Returns
core.String

Parameters

NameTypeDescription
attrcore.String
defaultValuecore.String

getColor

String getColor(String attr, String defaultValue, String prefix)

Returns
core.String

Parameters

NameTypeDescription
attrcore.String
defaultValuecore.String
prefixcore.String

getComputedHeight

int getComputedHeight()

Returns
core.int

getComputedWidth

int getComputedWidth()

Returns
core.int

getFrameWidth

int getFrameWidth(String sides)

Returns
core.int

Parameters

NameTypeDescription
sidescore.String

getHeight

int getHeight()

Returns
core.int

getHeight

int getHeight(boolean contentHeight)

Returns
core.int

Parameters

NameTypeDescription
contentHeightcore.boolean

getLeft

int getLeft(boolean local)

Returns
core.int

Parameters

NameTypeDescription
localcore.boolean

getMargins

Padding getMargins()

Returns
org.milescript.types.Padding

getMargins

int getMargins(String sides)

Returns
core.int

Parameters

NameTypeDescription
sidescore.String

getOffsetsTo

Array<int> getOffsetsTo(HTMLElement element)

Returns
core.Array<core.int>

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement

getOffsetsTo

Array<int> getOffsetsTo(Element element)

Returns
core.Array<core.int>

Parameters

NameTypeDescription
elementwrap.ext.Element

getPadding

int getPadding(String side)

Returns
core.int

Parameters

NameTypeDescription
sidecore.String

getPositioning

CSSStyle getPositioning()

Returns
org.milescript.dom.CSSStyle

getRegion

Region getRegion()

Returns
wrap.ext.layout.Region

getRight

int getRight(boolean local)

Returns
core.int

Parameters

NameTypeDescription
localcore.boolean

getScroll

Padding getScroll()

Returns
org.milescript.types.Padding

getSize

Dimension getSize()

Returns
org.milescript.types.Dimension

getSize

Dimension getSize(boolean contentSize)

Returns
org.milescript.types.Dimension

Parameters

NameTypeDescription
contentSizecore.boolean

getStyle

String getStyle(String property)

Returns
core.String

Parameters

NameTypeDescription
propertycore.String

getStyles

CSSStyle getStyles(String...)

Returns
org.milescript.dom.CSSStyle

Parameters

NameTypeDescription
[varargs]core.String

getTop

int getTop(boolean local)

Returns
core.int

Parameters

NameTypeDescription
localcore.boolean

getUpdater

Updater getUpdater()

Returns
wrap.ext.Updater

getValue

String getValue()

Returns
core.String

getValue

float getValue(boolean asNumber)

Returns
core.float

Parameters

NameTypeDescription
asNumbercore.boolean

getViewSize

Dimension getViewSize()

Returns
org.milescript.types.Dimension

getWidth

int getWidth()

Returns
core.int

getWidth

int getWidth(boolean contentWidth)

Returns
core.int

Parameters

NameTypeDescription
contentWidthcore.boolean

getX

int getX()

Returns
core.int

getXY

Array<int> getXY()

Returns
core.Array<core.int>

getY

int getY()

Returns
core.int

hasClass

boolean hasClass(String className)

Returns
core.boolean

Parameters

NameTypeDescription
classNamecore.String

hide

Element hide()

Returns
wrap.ext.Element

hide

Element hide(boolean animate)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
animatecore.boolean

hide

Element hide(ElementAnimationOptions animate)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
animatewrap.ext.types.ElementAnimationOptions

hover

Element hover(Function overFn, Function outFn)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
overFncore.Function
outFncore.Function

hover

Element hover(Function overFn, Function outFn, Object scope)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
overFncore.Function
outFncore.Function
scopecore.Object

initDD

DD initDD(String group)

Returns
wrap.ext.dd.DD

Parameters

NameTypeDescription
groupcore.String

initDD

DD initDD(String group, DDConfig config, Object overrides)

Returns
wrap.ext.dd.DD

Parameters

NameTypeDescription
groupcore.String
configwrap.ext.dd.types.DDConfig
overridescore.Object

initDDProxy

DDProxy initDDProxy(String group, DDProxyConfig config, Object overrides)

Returns
wrap.ext.dd.DDProxy

Parameters

NameTypeDescription
groupcore.String
configwrap.ext.dd.types.DDProxyConfig
overridescore.Object

initDDTarget

DDTarget initDDTarget(String group, DDTargetConfig config, Object overrides)

Returns
wrap.ext.dd.DDTarget

Parameters

NameTypeDescription
groupcore.String
configwrap.ext.dd.types.DDTargetConfig
overridescore.Object

insertAfter

Element insertAfter(Element el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elwrap.ext.Element

insertAfter

Element insertAfter(HTMLElement el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elorg.milescript.dom.HTMLElement

insertBefore

Element insertBefore(Element el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elwrap.ext.Element

insertBefore

Element insertBefore(HTMLElement el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elorg.milescript.dom.HTMLElement

insertFirst

Element insertFirst(Array<Object> DomHelperConfigObject)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
DomHelperConfigObjectcore.Array<core.Object>

insertFirst

Element insertFirst(HTMLElement el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elorg.milescript.dom.HTMLElement

insertFirst

Element insertFirst(Element el)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elwrap.ext.Element

insertFirst

Element insertFirst(String id)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
idcore.String

insertHtml

Element insertHtml(String where, String html)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
wherecore.String
htmlcore.String

insertHtml

HTMLElement insertHtml(String where, String html, boolean returnEl)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
wherecore.String
htmlcore.String
returnElcore.boolean

insertSibling

Element insertSibling(Array<Object> DomHelperConfigObject)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
DomHelperConfigObjectcore.Array<core.Object>

insertSibling

Element insertSibling(Element element)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element

insertSibling

Element insertSibling(Array<String> ids)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
idscore.Array<core.String>

insertSibling

Element insertSibling(Array<Element> elements)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementscore.Array<wrap.ext.Element>

insertSibling

Element insertSibling(String id)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
idcore.String

insertSibling

Element insertSibling(Array<String> ids, String where)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
idscore.Array<core.String>
wherecore.String

insertSibling

Element insertSibling(String id, String where)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
idcore.String
wherecore.String

insertSibling

Element insertSibling(Array<Object> DomHelperConfigObject, String where)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
DomHelperConfigObjectcore.Array<core.Object>
wherecore.String

insertSibling

Element insertSibling(Array<Array<Object>> DomHelperConfigObjects, String where)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
DomHelperConfigObjectscore.Array<core.Array<core.Object>>
wherecore.String

insertSibling

Element insertSibling(Array<Element> elements, String where)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementscore.Array<wrap.ext.Element>
wherecore.String

insertSibling

Element insertSibling(Element element, String where)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element
wherecore.String

insertSibling

HTMLElement insertSibling(Array<Object> DomHelperConfigObject, String where, boolean returnDom)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
DomHelperConfigObjectcore.Array<core.Object>
wherecore.String
returnDomcore.boolean

insertSibling

HTMLElement insertSibling(String id, String where, boolean returnDom)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
idcore.String
wherecore.String
returnDomcore.boolean

insertSibling

HTMLElement insertSibling(Element element, String where, boolean returnDom)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
elementwrap.ext.Element
wherecore.String
returnDomcore.boolean

insertSibling

HTMLElement insertSibling(Array<Element> elements, String where, boolean returnDom)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
elementscore.Array<wrap.ext.Element>
wherecore.String
returnDomcore.boolean

insertSibling

HTMLElement insertSibling(Array<String> ids, String where, boolean returnDom)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
idscore.Array<core.String>
wherecore.String
returnDomcore.boolean

insertSibling

HTMLElement insertSibling(Array<Array<Object>> DomHelperConfigObjects, String where, boolean returnDom)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
DomHelperConfigObjectscore.Array<core.Array<core.Object>>
wherecore.String
returnDomcore.boolean

is

boolean is(String selector)

Returns
core.boolean

Parameters

NameTypeDescription
selectorcore.String

isBorderBox

boolean isBorderBox()

Returns
core.boolean

isDisplayed

boolean isDisplayed()

Returns
core.boolean

isMasked

boolean isMasked()

Returns
core.boolean

isScrollable

boolean isScrollable()

Returns
core.boolean

isVisible

boolean isVisible()

Returns
core.boolean

isVisible

boolean isVisible(boolean deep)

Returns
core.boolean

Parameters

NameTypeDescription
deepcore.boolean

last

Element last()

Returns
wrap.ext.Element

last

Element last(String selector)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
selectorcore.String

last

HTMLElement last(String selector, boolean returnDom)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
selectorcore.String
returnDomcore.boolean

load

Element load(String url)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
urlcore.String

load

Element load(Function url)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
urlcore.Function

load

Element load(String url, String params)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
urlcore.String
paramscore.String

load

Element load(Function url, Object params)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
urlcore.Function
paramscore.Object

load

Element load(String url, String params, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
urlcore.String
paramscore.String
callbackcore.Function

load

Element load(Function url, Object params, Function callback)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
urlcore.Function
paramscore.Object
callbackcore.Function

load

Element load(String url, String params, Function callback, boolean discardUrl)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
urlcore.String
paramscore.String
callbackcore.Function
discardUrlcore.boolean

load

Element load(Function url, Object params, Function callback, boolean discardUrl)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
urlcore.Function
paramscore.Object
callbackcore.Function
discardUrlcore.boolean

mask

Element mask()

Returns
wrap.ext.Element

mask

Element mask(String msg)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
msgcore.String

mask

Element mask(String msg, String msgCls)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
msgcore.String
msgClscore.String

move

Element move(String direction, int distance)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
directioncore.String
distancecore.int

move

Element move(String direction, int distance, boolean animate)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
directioncore.String
distancecore.int
animatecore.boolean

move

Element move(String direction, int distance, Array<Object> animate)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
directioncore.String
distancecore.int
animatecore.Array<core.Object>

moveTo

Element moveTo(int x, int y)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
xcore.int
ycore.int

moveTo

Element moveTo(int x, int y, boolean animate)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
xcore.int
ycore.int
animatecore.boolean

moveTo

Element moveTo(int x, int y, Array<Object> animate)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
xcore.int
ycore.int
animatecore.Array<core.Object>

next

Element next()

Returns
wrap.ext.Element

next

Element next(String selector)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
selectorcore.String

next

HTMLElement next(String selector, boolean returnDom)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
selectorcore.String
returnDomcore.boolean

on

void on(String eventName, Function fn)

Parameters

NameTypeDescription
eventNamecore.String
fncore.Function

on

void on(String eventName, Function fn, Object scope)

Parameters

NameTypeDescription
eventNamecore.String
fncore.Function
scopecore.Object

on

void on(String eventName, Function fn, Object scope, Array<Object> options)

Parameters

NameTypeDescription
eventNamecore.String
fncore.Function
scopecore.Object
optionscore.Array<core.Object>

position

void position()


position

void position(String pos)

Parameters

NameTypeDescription
poscore.String

position

void position(String pos, int zIndex)

Parameters

NameTypeDescription
poscore.String
zIndexcore.int

position

void position(String pos, int zIndex, int x)

Parameters

NameTypeDescription
poscore.String
zIndexcore.int
xcore.int

position

void position(String pos, int zIndex, int x, int y)

Parameters

NameTypeDescription
poscore.String
zIndexcore.int
xcore.int
ycore.int

prev

Element prev()

Returns
wrap.ext.Element

prev

Element prev(String selector)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
selectorcore.String

prev

HTMLElement prev(String selector, boolean returnDom)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
selectorcore.String
returnDomcore.boolean

query

Array<Element> query(String selector)

Returns
core.Array<wrap.ext.Element>

Parameters

NameTypeDescription
selectorcore.String

radioClass

Element radioClass(String className)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
classNamecore.String

radioClass

Element radioClass(Array<String> classNames)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
classNamescore.Array<core.String>

relayEvent

void relayEvent(String eventName, Object eventTarget)

Parameters

NameTypeDescription
eventNamecore.String
eventTargetcore.Object

remove

void remove()


removeAllListeners

Element removeAllListeners()

Returns
wrap.ext.Element

removeClass

Element removeClass(Array<String> classNames)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
classNamescore.Array<core.String>

removeClass

Element removeClass(String className)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
classNamecore.String

removeListener

Element removeListener(String eventName, Function fn)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
eventNamecore.String
fncore.Function

repaint

Element repaint()

Returns
wrap.ext.Element

replace

Element replace(Element element)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element

replace

Element replace(HTMLElement element)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement

replace

Element replace(String id)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
idcore.String

replaceClass

Element replaceClass(String oldClassName, String newClassName)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
oldClassNamecore.String
newClassNamecore.String

replaceWith

Element replaceWith(String id)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
idcore.String

replaceWith

Element replaceWith(HTMLElement element)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementorg.milescript.dom.HTMLElement

replaceWith

Element replaceWith(Element element)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
elementwrap.ext.Element

scroll

boolean scroll(String direction, int distance)

Returns
core.boolean

Parameters

NameTypeDescription
directioncore.String
distancecore.int

scroll

boolean scroll(String direction, int distance, Array<Object> animate)

Returns
core.boolean

Parameters

NameTypeDescription
directioncore.String
distancecore.int
animatecore.Array<core.Object>

scroll

boolean scroll(String direction, int distance, boolean animate)

Returns
core.boolean

Parameters

NameTypeDescription
directioncore.String
distancecore.int
animatecore.boolean

scrollIntoView

Element scrollIntoView()

Returns
wrap.ext.Element

scrollIntoView

Element scrollIntoView(Container container)

Returns
wrap.ext.Element

Parameters

NameTypeDescription
containerwrap.ext.Container

scrollIntoView

Element scrollIntoView(Container container, boolean hscroll)

Returns
wrap.ext.Element

Parameters

NameTypeDescription