Skip to end of metadata
Go to start of metadata

Refresh page Sep 14, 2019 16:21

Supported Clients
NGClient

Property Summary
String bottom Get bottom css position (in pixels or percent).
String heigth Get height css position (in pixels or percent).
String left Get left css position (in pixels or percent).
String right Get right css position (in pixels or percent).
void setHeigth Set height css position (in pixels or percent).
String top Get top css position (in pixels or percent).
String width Get width css position (in pixels or percent).

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

Property Details

bottom

Get bottom css position (in pixels or percent).

Returns

Supported Clients

NGClient

Sample

comp.cssPosition.b()

heigth

Get height css position (in pixels or percent).

Returns

Supported Clients

NGClient

Sample

comp.cssPosition.h()

left

Get left css position (in pixels or percent).

Returns

Supported Clients

NGClient

Sample

var left = comp.cssPosition.left;

right

Get right css position (in pixels or percent).

Returns

Supported Clients

NGClient

Sample

comp.cssPosition.r()

setHeigth

Set height css position (in pixels or percent).

Supported Clients

NGClient

Sample

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

top

Get top css position (in pixels or percent).

Returns

Supported Clients

NGClient

Sample

comp.cssPosition.t()

width

Get width css position (in pixels or percent).

Returns

Supported Clients

NGClient

Sample

comp.cssPosition.w()

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