Documentation

BX.width/BX.height

Returns (or specifies) the with, height of a DOM element. Dom element is passed via the first parameter. If you choose not to pass the second parameter (integer value), the the value of width or height is returned. If it is passed - the value is specified.

Examples of use

BX.height(BX('adm-title'));
BX.height(BX('adm-title'), 1000);


© «Bitrix24», 2001-2024
Up