Documentation

setDeviceWidth

 public
\Bitrix\MobileApp\Mobile::setDeviceWidth(
 mixed $deviceWidth
);

Sets value for deviceWidth. Non-static method.

Parameters

ParameterDescriptionVersion
$deviceWidthdeviceWidth value - viewport width.

Example



© «Bitrix24», 2001-2024
Up