• Модуль: report
  • Путь к файлу: ~/bitrix/modules/report/lib/visualconstructor/fields/base.php
  • Класс: BitrixReportVisualConstructorFieldsBase
  • Вызов: Base::addJsEventListener
public function addJsEventListener(Base $field = null, $eventKey, $jsParams)
{
	$field->jsEvents[$eventKey][] = array(
		'behaviourOwner' => $this,
		'handlerParams' => $jsParams
	);

	$this->jsEventListeners[$eventKey][] = array(
		'eventOwner' => $field,
		'handlerParams' => $jsParams,
	);
	return $this;
}