• Модуль: mobile
  • Путь к файлу: ~/bitrix/modules/mobile/lib/tab/utils.php
  • Класс: BitrixMobileTabUtils
  • Вызов: Utils::getComponentJSCode
static function getComponentJSCode($config = [])
{
	$code = $config["componentCode"];
	$title = $config["title"];
	$rootWidget = Json::encode($config["rootWidget"]);
	$params = Json::encode($config["params"]);
	$scriptPath = $config["scriptPath"];

	$jsCode = <<