Documentation

setMaxScale

 public
\Bitrix\MobileApp\Mobile::setMaxScale(
 mixed $maxScale
);

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

Parameters

ParameterDescriptionVersion
$maxScaleMaximum viewport scale. Numbers with a point (from 0.1 to 10), 1.0 - do not scale. Default value: 1.6 in mobile Safari.

Example



© «Bitrix24», 2001-2024
Up