Documentation

Filter Component

JS Library landing.uifilterconverter

Used to convert source elements search conditions into block filter.

Must be connected in the form component template:

\Bitrix\Main\UI\Extension::load('landing.uifilterconverter');

Contains the class UiFilterConverter. Methods:

Class constructor

UiFilterConverter(
 {filterId: 'Filter_ID'}
)
ParametersType Description Available from version
filterId object Contains filter_ID (which initilalized main.uni.filter)

UiFilterConverter.getFilter

Returns filter from main.ui.filter, converted to block's format.



© «Bitrix24», 2001-2022
Up