PP.Ui.getMarginsWidth

Syntax

PP.Ui.getMarginsWidth(el: HTMLElement);

Parameters

el. HTML Item.

Description

The getMarginsWidth method returns width sum of internal and external margins and borders of item in pixels.

Example

The example of use is given in description of the PP.Ui.getPixelSize method.

See also:

PP.Ui