CSSPosition

Properties Summarized

TypeNameSummary

Get/Set bottom css position (in pixels or percent).

Get/Set height css position (in pixels or percent).

Get/Set left css position (in pixels or percent).

Get/Set right css position (in pixels or percent).

Get/Set top css position (in pixels or percent).

Get/Set width css position (in pixels or percent).

Methods Summarized

TypeNameSummary

Set bottom css position (in pixels or percent).

Set height css position (in pixels or percent).

Set left css position (in pixels or percent).

Set right css position (in pixels or percent).

Set top css position (in pixels or percent).

Set width css position (in pixels or percent).

Properties Detailed

bottom

Get/Set bottom css position (in pixels or percent).

Type String

Sample

comp.cssPosition.bottom

height

Get/Set height css position (in pixels or percent).

Type String

Sample

comp.cssPosition.height

left

Get/Set left css position (in pixels or percent).

Type String

Sample

var left = comp.cssPosition.left;

Get/Set right css position (in pixels or percent).

Type String

Sample

comp.cssPosition.right

top

Get/Set top css position (in pixels or percent).

Type String

Sample

comp.cssPosition.top

width

Get/Set width css position (in pixels or percent).

Type String width css position

Sample

comp.cssPosition.width

Methods Detailed

b(bottom)

Set bottom css position (in pixels or percent).

Parameters

  • String bottom bottom position in pixels or percentage

Returns: CSSPosition css position

Sample

comp.cssPosition.r("10").b("10").w("20%").h("30px")

h(height)

Set height css position (in pixels or percent).

Parameters

  • String height height position in pixels or percentage

Returns: CSSPosition css position

Sample

comp.cssPosition.l("10").t("10").w("20%").h("30px")

l(left)

Set left css position (in pixels or percent).

Parameters

  • String left left position in pixels or percentage

Returns: CSSPosition css position

Sample

comp.cssPosition.l("10").t("10").w("20%").h("30px")

r(right)

Set right css position (in pixels or percent).

Parameters

  • String right right position in pixels or percentage

Returns: CSSPosition css position

Sample

comp.cssPosition.r("10").b("10").w("20%").h("30px")

t(top)

Set top css position (in pixels or percent).

Parameters

  • String top top position in pixels or percentage

Returns: CSSPosition css position

Sample

comp.cssPosition.l("10").t("10").w("20%").h("30px")

w(width)

Set width css position (in pixels or percent).

Parameters

  • String width width position in pixels or percentage

Returns: CSSPosition css position

Sample

comp.cssPosition.l("10").t("10").w("20%").h("30px")

Last updated