init()
Home > @gooddata/sdk-ui-filters > IAttributeFilterLoader > init
IAttributeFilterLoader.init() method
Loads all the required data to initialize the attribute filter handler: attribute, selected attribute elements, initial elements page and optionally elements total count (for filters with parent).
Signature:
init(correlation?: Correlation): void;
Parameters
Parameter | Type | Description |
---|---|---|
correlation | Correlation | (Optional) correlation that will be included in all callbacks fired by this method |
Returns:
void
Remarks
Cancels the running initialization, if any, and starts it again.
Throws error if you combine staticElements with unsupported elements load options (limitingAttributeFilters, limitingMeasures or limitingDateFilters).
You can provide a correlation that will be included in the payload of all callbacks fired as a result of calling this method.