RECOMMENDATION: If you are using a version of The Portal Connector higher than 4.0, we strongly recommend utilizing the MVC based widgets and components to create your site. This documentation is for legacy purposes only and will soon be deprecated.

get_type()

Returns the type of widget it is. Can be used in conjunction with findAll() e.g., tpc.findAll()[0].get_type().

Example-get_type()

tpc.page.TpcProductFilters.get_type();

Parameters

Returns

String

show()

Shows the widget on the form.

Example-show()

tpc.page.TpcProductFilters.show();

Parameters

Returns

None

get_model()

Returns the configuration information of the widget.

Example-get_model()

tpc.page.TpcProductFilters.get_model();

Parameters

Returns

Object

hide()

Hides the widget from the form.

Example-hide()

tpc.page.TpcProductFilters.hide();

Parameters

Returns

None

get_container()

Returns the div container of the widget.

Example-get_container()

tpc.page.TpcProductFilters.get_container();

Parameters

Returns

jQuery Object

get_productFiltersClearContainer()

Returns container for Clear All button.

Example-get_productFiltersClearContainer()

tpc.page.TpcProductFilters.get_productFiltersClearContainer();

Parameters

Returns

jQuery Object

toggle()

Toggles the visibility of the widget.

Example-toggle()

tpc.page.TpcProductFilters.toggle();
Parameters

Returns

None

get_productFamilyFilters()

Returns details about Product family filters.

Example-get_productFamilyFilters()

tpc.page.TpcProductFilters.get_productFamilyFilters();
Parameters

Returns

Object

get_productTypeFilters()

Returns details about Product type filters.

Example-get_productTypeFilters()

tpc.page.TpcProductFilters.get_productTypeFilters();
Parameters

Returns

Object