Documentation

setMinScale

 public
\Bitrix\MobileApp\Mobile::setMinScale(
 mixed $minScale
);

Sets value for minScale (parameter minimum-scale in the viewport meta-tag). Non-static method.

Parameters

ParameterDescriptionVersion
$minScaleViewport minimal scale. Number with point (from 0.1 to 10), 1.0 - do not scale. Default value: 0.25 in mobile Safari.

Example



© «Bitrix24», 2001-2024