Child pages
  • CSSPosition
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Refresh page Apr 10, 2024 21:53

Supported Clients
NGClient

Property Summary
String bottom Get/Set bottom css position (in pixels or percent).
String height Get/Set height css position (in pixels or percent).
String left Get/Set left css position (in pixels or percent).
String right Get/Set right css position (in pixels or percent).
void setBottom
void setHeight
void setLeft
void setRight
void setTop
void setWidth
String top Get/Set top css position (in pixels or percent).
String width Get/Set width css position (in pixels or percent).

Methods Summary
CSSPosition b(bottom) Set bottom css position (in pixels or percent).
CSSPosition h(height) Set height css position (in pixels or percent).
CSSPosition l(left) Set left css position (in pixels or percent).
CSSPosition r(right) Set right css position (in pixels or percent).
CSSPosition t(top) Set top css position (in pixels or percent).
CSSPosition w(width) Set width css position (in pixels or percent).

Property Details

bottom

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

Returns

Supported Clients

NGClient

Sample

comp.cssPosition.bottom

height

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

Returns

Supported Clients

NGClient

Sample

comp.cssPosition.height

left

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

Returns

Supported Clients

NGClient

Sample

var left = comp.cssPosition.left;

right

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

Returns

Supported Clients

NGClient

Sample

comp.cssPosition.right

setBottom

Supported Clients

NGClient

Sample

 

setHeight

Supported Clients

NGClient

Sample

 

setLeft

Supported Clients

NGClient

Sample

 

setRight

Supported Clients

NGClient

Sample

 

setTop

Supported Clients

NGClient

Sample

 

setWidth

Supported Clients

NGClient

Sample

 

top

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

Returns

Supported Clients

NGClient

Sample

comp.cssPosition.top

width

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

Returns

Supported Clients

NGClient

Sample

comp.cssPosition.width

Methods Details

b(bottom)

Set bottom css position (in pixels or percent).

Parameters

String bottom bottom position in pixels or percentage

Returns

Supported Clients

NGClient

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

Supported Clients

NGClient

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

Supported Clients

NGClient

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

Supported Clients

NGClient

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

Supported Clients

NGClient

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

Supported Clients

NGClient

Sample

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

  • No labels