Documentation

getViewPort

mixed|string public
\Bitrix\MobileApp\Mobile::getViewPort(
 string $width = ""
);

Used for getting current content="" value for viewport meta-tag. Non-static method.

Parameters

ParameterDescriptionVersion
$widthViewport width.

Example



© «Bitrix24», 2001-2024