• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/web/webpacker/resource/package.php
  • Класс: BitrixMainWebWebPackerResourcePackage
  • Вызов: Package::onDemand
public function onDemand()
{
	$this->onDemand = true;
	return $this;
}